--- a/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.h Thu Jan 16 17:49:40 2014 +0100
+++ b/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.h Wed Jan 15 11:53:54 2014 +0400
@@ -122,15 +122,13 @@
#endif /* AWT_THREAD_ASSERTS */
// --------------------------------------------------------------------------
-// Set from JNI_Onload
-extern jobject appkitThreadGroup;
-
__attribute__((visibility("default")))
@interface ThreadUtilities { }
+ (JNIEnv*)getJNIEnv;
+ (JNIEnv*)getJNIEnvUncached;
+ (void)detachCurrentThread;
++ (void)setAppkitThreadGroup:(jobject)group;
//Wrappers for the corresponding JNFRunLoop methods with a check for main thread
+ (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block;