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.
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
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.
*** Issue 46455 has been marked as a duplicate of this issue. ***
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.
Any progress on this? I just told another user on the apple java dev list that it would be fixed for 4.0.
FWIW I don't believe the patch here (issue #43593) would be all that complicated.
Tomasi, you investigated this. Please comment.
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.
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?
I've just verified that it works on MacOS.