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

[TestBug] SWT tests do not run on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • javafx

      In JDK-8169285, we enabled SWT tests. This however led to a problem on MacOS. They are therefore disabled on MacOS as of now.

      When running the tests, the following warning is printed, with an exception right after: "***WARNING: Display must be created on main thread due to Cocoa restrictions. Use vmarg -XstartOnFirstThread."

      It might be possible that adding this flag to the gradle test jvmArgs will fix this problem.

            Unassigned Unassigned
            mhanl Marius Hanl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: