changeset 20139 | 53e1e07a811e |
parent 20135 | f6edca5afe49 |
child 20456 | 91f08f6b7871 |
--- a/jdk/src/macosx/native/sun/awt/AWTWindow.m Mon Sep 16 19:21:50 2013 +0400 +++ b/jdk/src/macosx/native/sun/awt/AWTWindow.m Mon Sep 16 19:38:32 2013 +0400 @@ -350,7 +350,7 @@ - (void) dealloc { AWT_ASSERT_APPKIT_THREAD; - JNIEnv *env = [ThreadUtilities getJNIEnv]; + JNIEnv *env = [ThreadUtilities getJNIEnvUncached]; [self.javaPlatformWindow setJObject:nil withEnv:env]; self.nsWindow = nil;