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

Calling Application.launch on FX thread should throw IllegalStateException, but causes deadlock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjfx16
    • Fix Version/s: openjfx17
    • Component/s: javafx
    • Labels:
      None

      Description

      The new Platform.startup method can create a deadlock, when afterwards Application.launch is called from the JavaFX thread.
      Simple fix with PR is on the way.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fkirmaier Florian Kirmaier
              Reporter:
              fkirmaier Florian Kirmaier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: