To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit fa735a35 authored by Kunshan Wang's avatar Kunshan Wang
Browse files

Set cbinding default JNI version to 1.6

The C binding does not use 1.8-specific features or deprecated features.
But some machines may still not have Java 1.8 installed. So I made the
JNI version configurable through a macro, and defaults to 1.6.
parent 93d81f64
......@@ -4,6 +4,10 @@
#include <jni.h>
#include "refimpl2-start.h"
#include "classpath.h"
......@@ -43,7 +47,7 @@ static void init_jvm() {
printf("Classpath option: '%s'\n", cpoptionstr);
vm_args.version = JNI_VERSION_1_8;
vm_args.version = MUREF_JNI_VERSION;
vm_args.nOptions = 2;
vm_args.options = options;
vm_args.ignoreUnrecognized = JNI_FALSE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment