7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll

Reviewed-by: art, amenkov
This commit is contained in:
Oleg Pekhovskiy 2011-04-27 15:26:38 +04:00
parent aa161ffe8d
commit 57f34d2482

View File

@ -187,6 +187,7 @@ void D3DPipelineManager::NotifyAdapterEventListeners(UINT adapter,
}
JNIEnv *env = (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2);
RETURN_IF_NULL(env);
pMgr = D3DPipelineManager::GetInstance();
RETURN_IF_NULL(pMgr);