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

Mac: Allow Glass to run event loop in the main thread

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS X 10.6

      Description

      Eclipse and SWT applications expect the JVM to run the event loop in the main thread and specify -XstartOnFirstThread. This patch modifies Glass to let this happen. Note that the code could be improved to check a system property or pass another flag into Glass. However, there are many other places in the Glass code where [NSThread isMainThread] is checked.

        Attachments

          Activity

            People

            • Assignee:
              snorthov Steve Northover (Inactive)
              Reporter:
              snorthov Steve Northover (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: