hello Mario, On Friday 04 August 2006 09:32, Mario Torre wrote: > Il giorno ven, 04/08/2006 alle 09.12 +1000, Raif S. Naffah ha scritto: > > i'm getting a segmentation fault caused by /usr/lib/libgconf-2.so.4 > > (FC5) when trying to run jamvm with Classpath (both CVS Head)... > > anybody else is seeing this? > > Hi! > Do you have a test case for that? > > I can't see it, but maybe I'm trying with the wrong tests... here is how i can trigger it: import java.util.prefs.Preferences; public class Hello { public static final void main(String[] args) { Preferences prefs = Preferences.systemNodeForPackage(Hello.class); int lastSerialNumber = prefs.getInt("LAST_SERIAL_NUMBER", 0) + 1; prefs.putInt("LAST_SERIAL_NUMBER", lastSerialNumber); } } compiled with javac: $ javac -version Eclipse Java Compiler v_585_R31x, 3.1.2 release, Copyright IBM Corp 2000, 2006. All rights reserved. and run with jamvm: $ ./bin/jamvm -version java version "1.4.2" JamVM version 1.4.4-pre ... cheers; rsn
Attachment:
pgpO44OLbH8WV.pgp
Description: PGP signature