JDK-8000212 : [macosx] getGraphicsConfiguration().getDevice().setFullScreenWindow got a core dump
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u6
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: os_x
  • CPU: other
  • Submitted: 2012-09-27
  • Updated: 2013-02-14
  • Resolved: 2013-02-14
Related Reports
Duplicate :  
Description
Calling getGraphicsConfiguration().getDevice().setFullScreenWindow(this); where "this" is a JFrame instance and doing in a full screen slide show mode seems to cause a core dump:

2012-09-26 12:23:18.721 java[10122:8b13] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x000000019bf7a50f Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
1 ??? 0x00000001108aff90 0x0 + 4572512144
2 ??? 0x00000001108a42d4 0x0 + 4572463828
3 ??? 0x00000001108a49e1 0x0 + 4572465633
)
2012-09-26 12:23:18.722 java[10122:8b13] Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.

Attach the source code for a full screen slide show. It's a rather short piece of code but can be stripped
down to a minimal reproducible case.

Now work around this case by checking for Java 7 for Mac and simply ignoring calling getGraphicsConfiguration().getDevice().setFullScreenWindow(this) 
Comments
Should be evaluated on Mac osx system.
01-10-2012