Platform.startup() deadlock on mac when called from class initializer

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx14
    • Affects Version/s: jfx11, jfx12, jfx13, 9
    • Component/s: javafx

      Code that uses Platform.startup(Runnable r) where the Runnable is a lambda expression, that is called from a class initializer, behaves different on mac versus {linux, windows}

      On mac, there is a deadlock between the main thread and the JavaFX Application Thread.

      See https://github.com/javafxports/openjdk-jfx/issues/542 for a description of the problem.

            Assignee:
            Johan Vos
            Reporter:
            Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: