--- old/src/macosx/native/sun/awt/ApplicationDelegate.m 2013-02-21 12:15:25.000000000 +0400 +++ new/src/macosx/native/sun/awt/ApplicationDelegate.m 2013-02-21 12:15:25.000000000 +0400 @@ -567,10 +567,9 @@ { JNF_COCOA_ENTER(env); [ThreadUtilities performOnMainThread:@selector(_registerForNotification:) - onObject:[ApplicationDelegate class] + on:[ApplicationDelegate class] withObject:[NSNumber numberWithInt:notificationType] - waitUntilDone:NO - awtMode:NO]; // AWT_THREADING Safe (non-blocking) + waitUntilDone:NO]; // AWT_THREADING Safe (non-blocking) JNF_COCOA_EXIT(env); }