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

Document that FX toolkit should not be used by application shutdown hooks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      Description

      We should improve the documentation for the application life-cycle in the Application class to indicate that the FX toolkit should not be used from shutdown hooks, or after the Application.stop() method has returned.

      See RT-37075 for a test program that illustrates why this can be a problem for applications.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: