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

Java process does not terminate on closing the Main Application Frame

    Details

    • Subcomponent:
    • Introduced In Version:
      7
    • Resolved In Build:
      b10
    • CPU:
      x86
    • OS:
      windows_xp, windows_vista
    • Verification:
      Verified

      Description

      The attached test has a JFrame wtih setDefaultCloseOperation set to JFrame.EXIT_ON_CLOSE.
      1)Compile the test and and execute the test on Vista 6000 Ultimate
      2)Click on the Close button of the Frame in the Top Right corner.
      Expected Behavior
      The JFrame closes and the java process exits
      Actual Behavior
      The JFrame closes but the java process does not exit, the process ID can still be seen in The task manager.

      I tried with a simple awt frame with a windowListener for closing the window and the same buggy behavior was seen.

      The test and the thread dump for the same are attached to the bug report.

      This behavior is specific to Vista and is not occuring on Windows Xp.
      I could trace this back to jdk 7.0 build 02.
      It is not reproducible with 7.0 build 01.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcherepanov Dmitry Cherepanov
                Reporter:
                smandalisunw Srinivas Mandalika (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: