On Sun, Jul 02, 2006 at 03:47:46AM -0400, Daniel Schepler wrote: > Package: kaffe > Version: 2:1.1.7-3 > Severity: grave > > On my i386 system: > > frobnitz:/tmp# cat Test.java > public class Test { > public static void main (String args[]) { > System.exit(0); > } > } > frobnitz:/tmp# /usr/lib/kaffe/bin/javac Test.java > Internal error: caught an unexpected exception. > Please check your CLASSPATH and your installation. > java/lang/NullPointerException > at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123) > at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:84) > at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:155) > at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:797) > at gnu.classpath.VMSystemProperties.postInit > (VMSystemProperties.java:native) > at gnu.classpath.SystemProperties.<clinit> (SystemProperties.java:114) > at java.lang.Runtime.<init> (Runtime.java:100) > at java.lang.Runtime.<clinit> (Runtime.java:88) > at java.lang.System.loadLibrary (System.java:560) > at gnu.java.nio.channels.FileChannelImpl.<clinit> (FileChannelImpl.java:86) > at java.io.FileDescriptor.<clinit> (FileDescriptor.java:64) > at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:191) > at java.lang.System.<clinit> (System.java:74) > at java.lang.Object.hashCode (Object.java:174) > at java.util.Hashtable.hash (Hashtable.java:816) > at java.util.Hashtable.put (Hashtable.java:426) > at java.security.Permissions.add (Permissions.java:112) > Aborted > frobnitz:/tmp# gcj -C Test.java > frobnitz:/tmp# kaffe Test > Internal error: caught an unexpected exception. > Please check your CLASSPATH and your installation. > java/lang/NullPointerException > at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123) > [and so on as before] > frobnitz:/tmp# gij Test > frobnitz:/tmp#
Thanks for the report. The problem is that kaffe is built with GCC 4.1 which is known to break kaffe because of some aliasing. Compilation of kaffe with GCC 4.0 wuld fix this but Matthias Klose told me that he will drop GCC 4.0 from etch/sid soon. Upstream is working on the needed fixes and will do a release when done. I really hope this is done soon. Cheers, Michael -- http://www.worldforge.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]