I am having problems with some apps that do not exit properly when native threads are used with the 1.1.7v1a blackdown port. An example of an application which exhibits this behaviour is Together/J. This application starts to shut down when "file/exit" is chosen, but one frame remains on the screen and some of its threads remain visible in top.

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 ]
 

Reply via email to