--- old/src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java 2012-05-24 13:17:07.000000000 +0400 +++ new/src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java 2012-05-24 13:17:06.000000000 +0400 @@ -41,10 +41,11 @@ } public void enter() { + // Despite the naming this method on MacOS only making one event from + // the native loop to be executed so this call is not blocking toolkit.startNativeNestedEventLoop(); } public void exit() { - toolkit.stopNativeNestedEventLoop(); } }