diff --git a/src/main/jni/jre_launcher.c b/src/main/jni/jre_launcher.c index 532df67c..6c21e46c 100644 --- a/src/main/jni/jre_launcher.c +++ b/src/main/jni/jre_launcher.c @@ -120,7 +120,8 @@ static jint launchJVM(int margc, char** margv) { * Signature: ([Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_com_oracle_dalvik_VMLauncher_launchJVM(JNIEnv *env, jclass clazz, jobjectArray argsArray) { -#ifdef TRY_SIG2JVM +/* + #ifdef TRY_SIG2JVM void* libjvm = dlopen("libjvm.so", RTLD_LAZY | RTLD_GLOBAL); if (NULL == libjvm) { LOGE("JVM lib = NULL: %s", dlerror()); @@ -149,6 +150,7 @@ JNIEXPORT jint JNICALL Java_com_oracle_dalvik_VMLauncher_launchJVM(JNIEnv *env, CATCHSIG(SIGPIPE); CATCHSIG(SIGXFSZ); //Signal trapper ready + */ // Save dalvik JNIEnv pointer for JVM launch thread dalvikJNIEnvPtr_ANDROID = env;