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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx14
    • jfx11, jfx12, jfx13, 9
    • javafx

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: