Private
Public Access
2
0

java: Changed JNI version to 1.6

This change is needed to compile/run with OpenJDK 7, as well as with
OpenJDK 8.

Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Andrei Vasiliu
2016-03-01 15:55:15 +00:00
committed by Brendan Le Foll
parent 12b5130c1a
commit 029e08669c
3 changed files with 7 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ class Spi;
lang_func->java_create_global_ref = &mraa_java_create_global_ref;
lang_func->java_delete_global_ref = &mraa_java_delete_global_ref;
}
return JNI_VERSION_1_8;
return JNI_REQUIRED_VERSION;
}
%}