Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6611527

Defunct gtkhelper process is not reaped until the parent java process is killed

    XMLWordPrintable

    Details

      Description

      DESCRIPTION
      -----------

      1. execute the attached test case (test.java).
      2. execute 'ps -l' to see a gtkhelper process which is defunct and is
         not colected till main java is terminated.

      F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
      4 S 0 27584 27581 0 75 0 - 1032 wait pts/7 00:00:00 bash
      0 S 0 27686 27584 10 80 0 - 60222 stext pts/7 00:00:00 java
      0 Z 0 27696 27686 0 83 0 - 0 exit pts/7 00:00:00 gtkhelper <defunct>
      0 R 0 27700 27584 0 75 0 - 544 - pts/7 00:00:00 ps

      This problem is not reproducible on Java 6.


      TESTCASE
      --------

      import javax.swing.*;

      public class test
      {
         public static void main(String[] args)
         {
          try{
              String value;
              value = UIManager.getSystemLookAndFeelClassName();
              value = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
              System.out.println( value );
              UIManager.setLookAndFeel( value );
           }catch (Exception ex) { System.out.println( ex.toString() ); }
              JDialog dialog = (new JOptionPane()).createDialog(null, "d58123");
              dialog.setDefaultCloseOperation( JDialog.DISPOSE_ON_CLOSE );
              dialog.setVisible(true);
         }
      }

        Attachments

          Activity

            People

            Assignee:
            peterz Peter Zhelezniakov
            Reporter:
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: