JDK-8075244 : [macosx] The fix for JDK-8043869 should be reworked
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-03-16
  • Updated: 2016-04-07
  • Resolved: 2015-03-25
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.
JDK 8 JDK 9
8u60Fixed 9 b59Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Initial version of the fix[1] was reverted [2]:
[1] https://bugs.openjdk.java.net/browse/JDK-8043869
[2] https://bugs.openjdk.java.net/browse/JDK-8074668

Comments
[NSApplicationAWT sharedApplication] should be called instead of [NSApplication init] to initialize AWT stuff.
18-03-2015

Calling [SplashNSScreen() backingScaleFactor] not from main thread on Mac OS X 10.10 Yosemite leads to the exception(see JDK-8049198): NSScreen should be called the first time from the main thread (usually as part of -[NSApplication init]) to maintain consistency. ( 0 AppKit 0x00007fff84c1609a +[NSScreen _prepare] + 56 1 libobjc.A.dylib 0x00007fff8f2e0bd0 _class_initialize + 655 2 libobjc.A.dylib 0x00007fff8f2ef3c9 lookUpImpOrForward + 172 3 libobjc.A.dylib 0x00007fff8f2db1ac objc_msgSend + 236 4 libsplashscreen.dylib 0x0000000120cd0e1c SplashNSScreen + 44 5 libsplashscreen.dylib 0x0000000120ccf8af SplashGetScaledImageName + 95 6 java 0x00000001029a89b3 ShowSplashScreen + 76 7 java 0x00000001029aa810 PostJVMInit + 263 8 java 0x00000001029a7b26 JavaMain + 2455 9 libsystem_pthread.dylib 0x00007fff81f1e780 _pthread_body + 131 10 libsystem_pthread.dylib 0x00007fff81f1e6fd _pthread_body + 0 11 libsystem_pthread.dylib 0x00007fff81f1c94d thread_start + 13
18-03-2015