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 44840 - Popup Javadoc does not work for JDK classes on Mac OS
Summary: Popup Javadoc does not work for JDK classes on Mac OS
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 46455 (view as bug list)
Depends on: 43593
Blocks:
  Show dependency tree
 
Reported: 2004-06-14 16:53 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-06-14 16:53:44 UTC
Probably because of the packaging of src.jar on Mac OS:

Archive:  /Library/Java/Home/src.jar
 Length  Method   Size  Ratio   Date    Time   CRC-32     Name
 ------  ------   ----  -----   ----    ----   ------     ----
      0  Stored       0   0%  05-25-04  13:28  00000000   src/
      0  Stored       0   0%  05-25-04  13:28  00000000   src/java/
      0  Stored       0   0%  05-25-04  13:28  00000000   src/java/
applet/
  17679  Stored   17679   0%  02-28-03  14:40  b829c2b8   src/
java/applet/Applet.java
   6998  Stored    6998   0%  02-28-03  14:40  2b8c4e5c   src/
java/applet/AppletContext.java
   2932  Stored    2932   0%  02-28-03  14:40  2563cb71   src/
java/applet/AppletStub.java
    866  Stored     866   0%  02-28-03  14:40  57734825   src/
java/applet/AudioClip.java
Comment 1 Jesse Glick 2004-07-26 20:00:24 UTC
Two things:

1. j2seplatform needs to insert the correct suffix on the resource URL
for src.zip on Mac OS X - and also for src.zip on JDK 1.3 and earlier,
which also has a src/ prefix. Needs to happen both in the default
platform, and when scanning for new JDKs. Probably should be automatic
by checking contained sources for package declarations.

2. Issue #43593: the Java scanner needs to actually pay attention to
this URL suffix. Currently it does not.

Issue #46455 is a duplicate of this one, I think.
Comment 2 Tomas Zezula 2004-07-29 08:40:52 UTC
*** Issue 46455 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Zezula 2004-07-29 08:44:09 UTC
Fixed the Java Platform related part:
Checking in
j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/DefaultPlatformImpl.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/DefaultPlatformImpl.java,v
 <--  DefaultPlatformImpl.java
new revision: 1.6; previous revision: 1.5
done
Processing log script arguments...
More commits to come...
Checking in
j2seplatform/src/org/netbeans/modules/java/j2seplatform/wizard/DetectPanel.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/wizard/DetectPanel.java,v
 <--  DetectPanel.java
new revision: 1.11; previous revision: 1.10
done

Now the issue depends only on the:
http://www.netbeans.org/issues/show_bug.cgi?id=43593
Reassigning to the javacore.
Comment 4 _ tboudreau 2004-09-23 01:52:07 UTC
Any progress on this?  I just told another user on the apple java dev list that it would be 
fixed for 4.0.
Comment 5 Jesse Glick 2004-09-23 04:47:34 UTC
FWIW I don't believe the patch here (issue #43593) would be all that
complicated.
Comment 6 Martin Matula 2004-10-04 15:35:52 UTC
Tomasi, you investigated this. Please comment.
Comment 7 _ tboudreau 2004-10-26 10:04:23 UTC
One week to go before code freeze, and this issue makes the IDE considerably less useful 
on mac os, since some functionality is broken.  Also seems to affect code generated by the 
Synchronize tool, which will have goofy variable names like param1, param2.  

-> P2, with apologies.
Comment 8 Martin Matula 2004-10-26 10:18:20 UTC
It should work now since 43593 was fixed yesterday (but the fix did
not get into the daily build). Can you please confirm that it works now?
Comment 9 Martin Matula 2004-10-26 15:00:34 UTC
I've just verified that it works on MacOS.