This also occurs with quite simple apps when trying to kill them from command line using ctrl-c rather than calling System.exit(). Example:
import java.awt.*;
public class ExitTest extends Frame {
public SystemColorTest() {
this.setSize(260, 420);
this.setVisible(true);
}
public static void main(String args[]) {
new ExitTest();
}
}
Pressing ctrl-C while this app is running returns control to the shell but does not actually kill the frame. In order to kill the applications in this "exit hung" state I have to use "killall -9 jre" or "killall -9 java"
my environment: Redhat 5.2 (intel), glibc 2.0.7-29 (stock 5.2 glibc)
This problem does not occur with Open Group's JDK 1.1.6v2 (another native-thread JDK port for linux)
regards
[ bryce ]