[REGRESSION] 6b18-1.8.1-0ubuntu1 broke javaws

Bug #624919 reported by Marcus Carlson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

It seems the 6b18-1.8.1-0ubuntu1 version broke javaws for our internal application because of some changed handling of filenames (or security?)

We use "[" and "]" in our filenames and this seems to have made the new version throw exceptions like this:

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:462)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:725)
Caused by: java.lang.NullPointerException
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
 at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
 ... 1 more
Caused by:
java.lang.NullPointerException
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
 at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:725)

Changing the name of the files to a filename without "[" and "]" or downgrading to 1.8 solves the problem but it would be nice if this could be fixed in a future version.

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Also note that this works when using java from Sun/Oracle.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.