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.
Affected Version : Netbeans 6.0 RC1 ====================== Navigator Window doesn't show members of class when the selected class is in a JAR file. This is the only way in netbeans to see the members of classes for which source is not available. So marking as P1.
*** Issue 121612 has been marked as a duplicate of this issue. ***
Regression caused by issue #115104. Fixed in the trunk (see log below). Checking in JavaSource.java; /cvs/java/source/src/org/netbeans/api/java/source/JavaSource.java,v <-- JavaSource.java new revision: 1.98; previous revision: 1.97 done
I will discuss inclusion of the fix into NB6.0 on Monday.
The original patch for issue #115104 ensured that instance of JavaSource is not created files without CloneableEditorSupport. But, the CES is neither provided nor required for classfiles, so the patch allows creation of JS for classfiles. I am attaching a patch against release60 and asking for review for inclusion into NB6.0.
Created attachment 52869 [details] Proposed patch.
In my opinion, the risk is low. I would recommend to re-test: -basic Java editor functionality -creation of Visual Web project, basic functionality -double check for issue #115104
The patch is OK, feel free to integrate it.
Fix OK from QA point of view. --- Product Version: NetBeans IDE Dev (Build 20071112092049) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /space/testjar0
The fix has been merged to release60 branch: Checking in JavaSource.java; /cvs/java/source/src/org/netbeans/api/java/source/JavaSource.java,v <-- JavaSource.java new revision: 1.97.2.1; previous revision: 1.97 done
verified in RC1 Product Version: NetBeans IDE 6.0 RC1 (Build 200711130000) Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)