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

Mac: applications frequently hang after closing them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • fx2.1
    • fx2.1
    • javafx
    • Mac OS X 10.7
      JavaFX 2.1 b09

      Run HelloRectangle or HelloControls or pretty much any other app as follows (setting javafx.keepalive=true defeats the workaround as described in RT-17777):

          java -Djavafx.keepalive=true helloworld.HelloRectangle

      Exit by pressing the window close button in the decoration

      Most of the time the app will hang until another window (or the desktop) gets focus. I have attached a thread stack dump that I generated from a remote login shell (since clicking in a window on screen will allow the app to exit).

      Note that we must remove the System.exit workaround in order to ship JavaFX on Mac for 2.1.

            gziemski Gerard Ziemski
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: