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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0.2
    • fx2.0
    • javafx

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: