Skip to content

Commit

Permalink
Adding JNI version
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Dec 12, 2024
1 parent 332b0cd commit 46e9be0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/native/CreateVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ int main()
}

JavaVMInitArgs vm_args; /* JDK/JRE 6 VM initialization arguments */
vm_args.version = JNI_VERSION_1_6;
std::cout << "Starting JNI_GetDefaultJavaVMInitArgs test" << std::endl;
ret = JNI_GetDefaultJavaVMInitArgs(&vm_args);
if (ret != JNI_OK)
Expand Down

0 comments on commit 46e9be0

Please sign in to comment.