This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sort of silly but easy to reproduce. Mount .../nb_all (NetBeans repository) and browse into java/src/org/netbeans/modules/java/ (yes I know this is a mismount; nevertheless): a SecurityException is thrown. JDK 1.3 Linux, [dev feb 17].
Created attachment 633 [details] Stack trace of exception
CNF and SecurityException should be caught indeed.
Reassigning to utilities -- instanceClass is documented as throwing ClassNotFoundException. It seems that the search type does not handle the condition gracefully.
This is a SecurityException, shouldn't the Java impl of InstanceCookie catch the SecExc and rethrow as annotated CNFE?
Shouldn't this be handled in InstanceSupport ?
Possibly so. But JavaInstanceSupport does not extend InstanceSupport, so it should IMHO be fixed in java module first of all.
Reassigned back to java module.
Please change QA Contact field too. (Why was this ever assigned to utilities module? It is not related at all.)
Version: 'Dev' -> 3.2
Fixed in 3.2.12 & dev. The same for CNFEs.
[release32-20] Verified
Target milestone -> 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.