OpenJDK 6 self test fails: java.lang.NoClassDefFoundError: Queens
Jeff Sinclair
jeff at cooljeff.co.uk
Wed Apr 14 13:08:57 PDT 2010
hotspot-dev,
I'm building Open JDK 6 (b18) from scratch and am encountering the following
issues:
* Nothing is dumped into j2sdk-image.
* test_gamma gives a java.lang.NoClassDefFoundError: Queens
I'm running on 64-bit RHEL 4, bootjdk is HotSpot 1.6.0_18, as far as I can
tell there are no build errors before test_gamma. I am able to fully build
the Open JDK 7 (b88) without any issues on the same machine.
The Queens class is definitely compiled by the boot jdk and I even tried
running a simple class compiled separately but got a NoClassDefFoundError
for that class too. When Queens is run with the built open jdk binaries
the following error is seen:
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
Exception in thread "main" java.lang.NoClassDefFoundError: Queens
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at
java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:927)
at java.lang.ClassLoader.loadClass(ClassLoader.java:298)
at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Are there any known problems for the above 2 issues? I'm struggling to
debug this at the moment and was wondering what information I could
provide to help
debug.
--
Jeffrey Sinclair
More information about the hotspot-dev
mailing list