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

[macosx] getGraphicsConfiguration().getDevice().setFullScreenWindow got a core dump

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u6
    • client-libs
    • 7u6
    • other
    • os_x

      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)

            serb Sergey Bylokhov
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: