Community
Participate
Working Groups
Created attachment 193024 [details] Check for isAccessible() DisassemblyPart.insertSource() tries to resolve files to resources using ResourceLookup.selectFileForLocation() without testing whether the returned resource is accessible. Attached patch fixes that.
Fixed in HEAD and cdt_7_0.
*** cdt cvs genie on behalf of aleherbau *** Bug 342535 - [disassembly] Don't resolve files to an inaccessible resource [*] DisassemblyPart.java 1.31.2.8 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java?root=Tools_Project&r1=1.31.2.7&r2=1.31.2.8 [*] DisassemblyPart.java 1.47 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java?root=Tools_Project&r1=1.46&r2=1.47