jdk/src/macosx/native/sun/osxapp/ThreadUtilities.h
changeset 23900 fd98305f0d19
parent 23893 1a92335b55bb
child 23921 1cb9d9ff4e61
--- 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;