--- old/src/macosx/native/sun/osxapp/ThreadUtilities.m 2014-07-02 18:18:29.000000000 +0400 +++ new/src/macosx/native/sun/osxapp/ThreadUtilities.m 2014-07-02 18:18:29.000000000 +0400 @@ -34,7 +34,6 @@ JavaVM *jvm = NULL; static JNIEnv *appKitEnv = NULL; static jobject appkitThreadGroup = NULL; -static BOOL awtEmbedded = NO; static inline void attachCurrentThread(void** env) { if ([NSThread isMainThread]) { @@ -88,14 +87,6 @@ } } -+ (void)setAWTEmbedded:(BOOL)embedded { - awtEmbedded = embedded; -} - -+ (BOOL)isAWTEmbedded { - return awtEmbedded; -} - @end