| Summary: | TCFSourceLookupParticipant should not return inaccessible resources | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Anton Leherbauer <aleherb+eclipse> | ||||
| Component: | Debug | Assignee: | Anton Leherbauer <aleherb+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Eugene Tarassov <eugene> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug | ||||
| Version: | 0.3 | ||||||
| Target Milestone: | 0.3.1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Committed the fix. |
Created attachment 193020 [details] Don't return inaccessible files TCFSourceLookupParticipant uses ResourcesPlugin.getWorkspace().getRoot().findFilesForLocationURI(uri) in order to resolve files to Eclipse resources if possible. Unfortunately this method returns resources which may not be accessible (as resources), because the resource tree is out-of-sync or the files are part of a closed project.