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.
[] junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertTrue(Assert.java:27) at org.netbeans.modules.java.j2seproject.applet.AppletSupportTest.testgenerateHtmlFileURL(AppletSupportTest.java:110) ... Whole stack trace attached.
Created attachment 19078 [details] exc stack trace
The problem is in jdk1.5 where the AppletSupport is trying to do workAround for issue 6193279. This workaround creates URL with back slashes on windoze and the test cannot split is bcs it uses forward slash. I will attach a diff that makes this pass on windoze. This part was written by Tomas. Tomasi, can you review and integrate take this issue, please? Thanks.
Created attachment 20927 [details] proposed patch
thanks
The patch is wrong, it would not work on UNIX.
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java,v <-- AppletSupport.java new revision: 1.8; previous revision: 1.7 done
Verified.