Date: Tue, 20 Nov 2001 11:41:03 -0500 (EST) From: "Andrew Atrens" <atrens@nortelnetworks.com> To: emulation@freebsd.org Subject: Small prog to demonstrate linux-jdk1.3.x signal handling problem. (fwd) Message-ID: <20011120113845.G38199-100000@hcarp00g.ca.nortel.com>
next in thread | raw e-mail | index | archive | help
I originally sent this to -java, but it might be more suited here. This pre-dates the email Ari sent earlier today. ---------- Forwarded message ---------- Date: Thu, 15 Nov 2001 19:25:41 -0500 (EST) From: Andrew Atrens <atrens@nortelnetworks.com> To: java@freebsd.org Subject: Small prog to demonstrate linux-jdk1.3.x signal handling problem. All, Here is a small program which kills both (linux) Sun/Blackdown JDK 1.3.x/1.4.x Hotspot JVM, _and_ the (linux) IBM JDK 1.3.0 JVM. The Sun/Blackdown JVMs will SEGV. The IBM JVM 'runs away' and is unreponsive to anything but SIGKILL. Cheers, Andrew. import java.io.*; public class ClientOfDeath { static String s = null; public static void main(String[] args) throws IOException { for (;;) { s = null; try { s.compareTo(""); } catch (NullPointerException n) { s = ""; } } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011120113845.G38199-100000>