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

PlatformImpl.runAndWait should throw exception if called after the JavaFX runtime has terminated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Labels:

      Description

      After the JavaFX runtime has terminated, calls to Platform.exit are ignored. This means that a call to PlatformImpl.runLater will wait forever, since the runnable that it is waiting for will never be executed. We need to throw an IllegalStateException instead.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: