configuration fixes

This commit is contained in:
Vitor Santos Costa
2018-11-23 10:55:05 +00:00
parent 9be6eb9132
commit 999de8df19
5 changed files with 13 additions and 6 deletions

View File

@@ -640,7 +640,7 @@ static JNIEnv*
jni_env(void) /* economically gets a JNIEnv pointer, valid for this thread */
{ JNIEnv *env;
switch( (*jvm)->GetEnv(jvm, (void**)&env, JNI_VERSION_1_4) )
switch( (*jvm)->GetEnv(jvm, (void**)&env, JNI_VERSION_1_8) )
{ case JNI_OK:
return env;
case JNI_EDETACHED: