mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
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:
parent
dfaa97bf11
commit
2b36615302
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user