create_java_vm_impl was always failing.
git-svn-id: svn://10.0.0.236/trunk@10870 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5774a72d30
commit
bcf18bfa01
@ -511,7 +511,7 @@ create_java_vm_impl(SystemJavaVM* *jvm, JNIEnv* *initialEnv, void* initargs)
|
||||
const char* classpath = (const char*)initargs; // unused (should it be?)
|
||||
*jvm = (SystemJavaVM*)JVM_GetJVMMgr(); // unused in the browser
|
||||
*initialEnv = JVM_GetJNIEnv();
|
||||
return *initialEnv == NULL;
|
||||
return (*jvm != NULL && *initialEnv != NULL);
|
||||
}
|
||||
|
||||
static PRBool PR_CALLBACK
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user