Fixed to make OJI to build with MOZ_SECURITY. Reviewed by warren. Approved by don. Bug# 124222. This change is under MOZ_OJI and it doesn't affect the regular builds. Deleted call to VR_initialize a non exiting function
This commit is contained in:
@@ -240,16 +240,7 @@ JVMMgr::StartupJVM(void)
|
||||
return ShutdownJVM();
|
||||
}
|
||||
#else
|
||||
VR_Initialize(env);
|
||||
if (JRI_ExceptionOccurred(env)) {
|
||||
#ifdef DEBUG
|
||||
fJVM->PrintToConsole("LJ: VR_Initialize failed. Bugs to dveditz.\n");
|
||||
JRI_ExceptionDescribe(env);
|
||||
#endif
|
||||
JRI_ExceptionClear(env);
|
||||
return ShutdownJVM();
|
||||
}
|
||||
|
||||
|
||||
SU_Initialize(env);
|
||||
if (JRI_ExceptionOccurred(env)) {
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user