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 121611 - Navigator Window doesn't show members of classes present in jar file
Summary: Navigator Window doesn't show members of classes present in jar file
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
: 121612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-09 18:43 UTC by deepakjacob
Modified: 2007-11-13 12:07 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch. (986 bytes, patch)
2007-11-12 10:51 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description deepakjacob 2007-11-09 18:43:36 UTC
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.
Comment 1 dlipin 2007-11-09 20:12:03 UTC
*** Issue 121612 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2007-11-10 13:46:53 UTC
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
Comment 3 Jan Lahoda 2007-11-10 14:18:08 UTC
I will discuss inclusion of the fix into NB6.0 on Monday.
Comment 4 Jan Lahoda 2007-11-12 10:50:03 UTC
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.
Comment 5 Jan Lahoda 2007-11-12 10:51:23 UTC
Created attachment 52869 [details]
Proposed patch.
Comment 6 Jan Lahoda 2007-11-12 10:53:40 UTC
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
Comment 7 Tomas Zezula 2007-11-12 12:34:06 UTC
The patch is OK, feel free to integrate it.
Comment 8 Max Sauer 2007-11-12 12:42:35 UTC
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
Comment 9 Jan Lahoda 2007-11-12 17:53:15 UTC
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
Comment 10 Jiri Prox 2007-11-13 12:07:47 UTC
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)