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

[macosx] Evaluate if checking for the -XstartOnFirstThread is still needed in awt.m

    XMLWordPrintable

Details

    • b75
    • os_x

    Backports

      Description

        The JNI_OnLoad() function of the AWT dynamic library verifies whether it is running on the Cocoa thread, and if so, requires the -XstartOnFirstThread command line option to be specified by the user on the command line. This makes it difficult to initialize AWT after an FX application has already been started. See http://javafx-jira.kenai.com/browse/RT-20784

        Since the code in awt.m is actually able to handle both cases, we should evaluate whether this check is needed in the first place, and possibly remove it.

        Attachments

          Issue Links

            Activity

              People

                anthony Anthony Petrov (Inactive)
                anthony Anthony Petrov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: