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.
There is an extra folder at the top level of src.zip installed with OpenVMS JVM, and this causes an exception to be thrown during the javadoc and code completion. We have also reported it to the OpenVMS JVM group and they will be fixing it for the next release of the JVM. We are submitting a patch for this in the meantime to allow us to specify a different directory in which to find the SRC.ZIP file. Thanks /Isao,Meg
Created attachment 17772 [details] Patch file for DefaultPlatformImpl.java
Can anyone review and apply this patch? Thanks.
I've looked at the patch. It seems good, but there is a call to the FileUtil.normalizeVMSFilePath () which is not currently in the FileUtil. Could you attach also the FileUtil diff or the number if issue which is related to this method? When you do this, please reassign the issue back to me.
Hi The issue related to the "FileUtil.normalizeVMSFilePath" method is : 48616 Thanks /Isao
The patch seems to be OK, I will integrate it when the issue http://www.netbeans.org/issues/show_bug.cgi?id=48616 will be solved.
Hi I am submitting a patch which does not depend on the issue 48616 (this one does not use the "FileUtil.normalizeVMSFilePath".) Please ignore the patch submitted on 2004-09-20. Thanks /Isao
Created attachment 17955 [details] New Patch file for DefaultPlatformImpl.java
The patch is integrated, thanks for it. 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.7; previous revision: 1.6 done
Tomas I think this should be reverted. The j2seplatform module should report the jar:$jdkhome/src.zip!/src/ URL. See issue #43593 - when fixed, then this class of problems should disappear also for Mac OS X.
I don't think so, The patch fixes the way the src.zip it is found itself on the VMS. It is located using netbeans.openvms.j2seplatform.default.srcdir property. The additional src folder in the src.zip is resolved on the line 100 in the DefaultPlatformImpl, the same way as for Mac. The Default platform returns the right URL: jar:file://${netbeans.openvms.j2seplatform.default.srcdir}/src.zip!/src/ but the FileScanner ignores it (http://www.netbeans.org/issues/show_bug.cgi?id=43593)
OK, sorry for the confusion.
v/c