Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it

which broke LiveConnect. a=dbaron, sr=jband, r=beard.
This commit is contained in:
joe.chou%eng.sun.com 2001-06-15 02:59:56 +00:00
parent dfaa97bf11
commit 2b36615302

View File

@ -141,8 +141,8 @@ nsJVMManager::CreateProxyJNI(nsISecureEnv* inSecureEnv, JNIEnv** outProxyEnv)
NS_METHOD
nsJVMManager::GetProxyJNI(JNIEnv** outProxyEnv)
{
JVMContext* context = GetJVMContext();
*outProxyEnv = context->proxyEnv;
// Get proxy JNI, if not created yet, create it.
*outProxyEnv = JVM_GetJNIEnv();
return NS_OK;
}