From b577f5e7d69d00aacdfe16a45acc6843d74b4eae Mon Sep 17 00:00:00 2001 From: raman Date: Wed, 10 Jun 1998 04:18:00 +0000 Subject: [PATCH] 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 --- modules/oji/src/jvmmgr.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/oji/src/jvmmgr.cpp b/modules/oji/src/jvmmgr.cpp index 99dcb2e15309..fa96ab0d7464 100644 --- a/modules/oji/src/jvmmgr.cpp +++ b/modules/oji/src/jvmmgr.cpp @@ -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