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.

Bug 9673 - Browsing Java sources mismounted like "package java..." throws exception
Summary: Browsing Java sources mismounted like "package java..." throws exception
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-18 22:22 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace of exception (1.81 KB, text/plain)
2001-02-18 22:23 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-02-18 22:22:50 UTC
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].
Comment 1 Jesse Glick 2001-02-18 22:23:45 UTC
Created attachment 633 [details]
Stack trace of exception
Comment 2 Svata Dedic 2001-02-19 09:46:34 UTC
CNF and SecurityException should be caught indeed.
Comment 3 Svata Dedic 2001-02-20 16:14:06 UTC
Reassigning to utilities -- instanceClass is documented as throwing ClassNotFoundException. It seems that the search type does not handle the condition gracefully.
Comment 4 Jesse Glick 2001-02-20 17:34:57 UTC
This is a SecurityException, shouldn't the Java impl of InstanceCookie catch the
SecExc and rethrow as annotated CNFE?
Comment 5 Svata Dedic 2001-02-20 17:42:45 UTC
Shouldn't this be handled in InstanceSupport ?
Comment 6 Jesse Glick 2001-02-20 18:05:51 UTC
Possibly so. But JavaInstanceSupport does not extend InstanceSupport, so it
should IMHO be fixed in java module first of all.
Comment 7 Peter Zavadsky 2001-03-05 16:02:18 UTC
Reassigned back to java module.
Comment 8 Jesse Glick 2001-03-06 15:26:20 UTC
Please change QA Contact field too. (Why was this ever assigned to utilities
module? It is not related at all.)
Comment 9 Jan Chalupa 2001-03-12 10:45:52 UTC
Version: 'Dev' -> 3.2
Comment 10 Svata Dedic 2001-03-23 17:19:55 UTC
Fixed in 3.2.12 & dev. The same for CNFEs.
Comment 11 Jan Becicka 2001-04-04 15:20:32 UTC
[release32-20] Verified
Comment 12 Jan Chalupa 2001-05-05 23:23:35 UTC
Target milestone -> 3.2
Comment 13 Quality Engineering 2003-07-01 13:18:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.