7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll
authorbagiras
Wed, 27 Apr 2011 15:26:38 +0400
changeset 9492 9dbb46097d62
parent 9491 f7970a9d4656
child 9493 249a58037fde
7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll Reviewed-by: art, amenkov
jdk/src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp
--- a/jdk/src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp	Wed Apr 27 13:43:22 2011 +0400
+++ b/jdk/src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp	Wed Apr 27 15:26:38 2011 +0400
@@ -187,6 +187,7 @@
     }
 
     JNIEnv *env = (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2);
+    RETURN_IF_NULL(env);
 
     pMgr = D3DPipelineManager::GetInstance();
     RETURN_IF_NULL(pMgr);