Merge branch 'node-object-jni' into jail

This commit is contained in:
Roman Volosovskyi 2016-06-24 18:37:24 +03:00
commit 97907f89d6
1 changed files with 2 additions and 2 deletions

View File

@ -31,14 +31,14 @@ static bool JniAttach( JNIEnv **env )
// attach thread to JNI // attach thread to JNI
//(*gJavaVM)->AttachCurrentThread( gJavaVM, (void **)env, NULL ); // Oracle JNI API //(*gJavaVM)->AttachCurrentThread( gJavaVM, (void **)env, NULL ); // Oracle JNI API
(*gJavaVM)->AttachCurrentThread( gJavaVM, env, NULL ); // Android JNI API (*gJavaVM)->AttachCurrentThread( gJavaVM, env, NULL ); // Android JNI API
return false; return true;
} }
else if (status != JNI_OK) else if (status != JNI_OK)
{ {
return false; return false;
} }
return true; return false;
} }
/*! /*!