JDK-8009911 : [macosx] SWT app freeze when going full screen using Java 7 on Mac
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u40,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2013-03-12
  • Updated: 2013-12-17
  • Resolved: 2013-05-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u40Fixed 8 b93Fixed
See the following SWT bug for details:


It sounds like a problem with JDK7/8 implementation of -XstartOnFirstThread option.
It is hard to add a regression test for this issue because: 1. We either need to have a dependency on SWT 2. Trying to use apple's API to check the GCD is not blocked fails, because we do not start the runloop with -XstartOnFirstThread option.

The issue is reproducible with both JDK7 and 8.