A couple of the longish fullscreen functional tests do report
Cocoa AWT: Not running on AppKit thread 0 when expected. (
[2012-06-09T09:21:44.37] 0 libawt_lwawt.dylib 0x0000000114bc0af9 Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
It may be probably related to a fix to
7160293 [macosx] FileDialog appears on secondary display.
Date: 2012-10-31 02:51:07 +0000
There is the test that shows the exception in the STDERR because of the current issue JDK-7175707:
2012-10-22 13:02:50.404 java[565:860b] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x0000000119e9e41a Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
1 ??? 0x00000001101a1f90 0x0 + 4565114768
After the fix the test does not show the exception in the STDERR.
The nativeGetNSWindowDisplayID_AppKitThread can be invoked both from the AppKitThread and not from the AppKitThread.
The fix invokes the GetNSWindowDisplayID_AppKitThread method on the AppKitThread in case if we are no on the AppKitThread.