зеркало из https://github.com/mozilla/pjs.git
create_java_vm_impl was always failing.
This commit is contained in:
Родитель
df5e0a2ee3
Коммит
60f7e019a9
|
@ -511,7 +511,7 @@ create_java_vm_impl(SystemJavaVM* *jvm, JNIEnv* *initialEnv, void* initargs)
|
||||||
const char* classpath = (const char*)initargs; // unused (should it be?)
|
const char* classpath = (const char*)initargs; // unused (should it be?)
|
||||||
*jvm = (SystemJavaVM*)JVM_GetJVMMgr(); // unused in the browser
|
*jvm = (SystemJavaVM*)JVM_GetJVMMgr(); // unused in the browser
|
||||||
*initialEnv = JVM_GetJNIEnv();
|
*initialEnv = JVM_GetJNIEnv();
|
||||||
return *initialEnv == NULL;
|
return (*jvm != NULL && *initialEnv != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PRBool PR_CALLBACK
|
static PRBool PR_CALLBACK
|
||||||
|
|
Загрузка…
Ссылка в новой задаче