---------- Forwarded message ----------
Date: Thu, 15 Nov 2001 19:25:41 -0500 (EST)
From: Andrew Atrens <atr...@nortelnetworks.com>
To: ja...@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 majo...@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message