FULL PRODUCT VERSION :
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
I am trying to run the following test application via Java WebStart with java 1.6 and I am getting NoClassDefFoundError exception even when row <property name="sun.lang.ClassLoader.allowArraySyntax" value="true" /> is included into JNLP file:
public class TestApp{
public static void main(String args[]) throws Exception{
System.out.println(ClassLoader.getSystemClassLoader().loadClass("[Ljava.lang.Object;"));
}
}
With java 1.5 this "app" does working fine.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Add property <property name="sun.lang.ClassLoader.allowArraySyntax" value="true" /> into JNLP file and run the following app:
public class TestApp{
public static void main(String args[]) throws Exception{
System.out.println(ClassLoader.getSystemClassLoader().loadClass("[Ljava.lang.Object;"));
}
}
There will be NoClassDefFoundError thrown.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
This app does working fine with Java WebStart with java 1.5 so I expect this app runs without errors under Java WebStart with java 1.6
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestApp{
public static void main(String args[]) throws Exception{
System.out.println(ClassLoader.getSystemClassLoader().loadClass("[Ljava.lang.Object;"));
}
}
---------- END SOURCE ----------
Release Regression From : 5.0
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.