mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Bug 342535 - [disassembly] Don't resolve files to an inaccessible resource
This commit is contained in:
parent
9b7e344590
commit
e1cfb22cba
1 changed files with 1 additions and 1 deletions
|
@ -2872,7 +2872,7 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
|||
final IPath location= ((IStorage) sourceElement).getFullPath();
|
||||
if (location != null) {
|
||||
IFile iFile = ResourceLookup.selectFileForLocation(location, null);
|
||||
if (iFile != null) {
|
||||
if (iFile != null && iFile.isAccessible()) {
|
||||
sourceElement = iFile;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue