jdk/src/macosx/native/sun/awt/AWTView.m
changeset 20139 53e1e07a811e
parent 20134 8711b271f96c
child 21268 b3298f607368
--- a/jdk/src/macosx/native/sun/awt/AWTView.m	Mon Sep 16 19:21:50 2013 +0400
+++ b/jdk/src/macosx/native/sun/awt/AWTView.m	Mon Sep 16 19:38:32 2013 +0400
@@ -126,7 +126,7 @@
 
     self.cglLayer = nil;
 
-    JNIEnv *env = [ThreadUtilities getJNIEnv];
+    JNIEnv *env = [ThreadUtilities getJNIEnvUncached];
     (*env)->DeleteGlobalRef(env, m_cPlatformView);
     m_cPlatformView = NULL;