aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/newt/native/JVM_JNI8.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/newt/native/JVM_JNI8.c b/src/newt/native/JVM_JNI8.c
index c023cb0f0..b584f65ec 100644
--- a/src/newt/native/JVM_JNI8.c
+++ b/src/newt/native/JVM_JNI8.c
@@ -31,11 +31,18 @@
#if defined (JNI_VERSION_1_8)
-JNIEXPORT jint JNICALL JNI_OnLoad_newt(JavaVM *vm, void *reserved) {
+JNIEXPORT jint JNICALL JNI_OnLoad_newt_head(JavaVM *vm, void *reserved) {
return JNI_VERSION_1_8;
}
-JNIEXPORT void JNICALL JNI_OnUnload_newt(JavaVM *vm, void *reserved) {
+JNIEXPORT jint JNICALL JNI_OnLoad_newt_drm(JavaVM *vm, void *reserved) {
+ return JNI_VERSION_1_8;
+}
+
+JNIEXPORT void JNICALL JNI_OnUnload_newt_head(JavaVM *vm, void *reserved) {
+}
+
+JNIEXPORT void JNICALL JNI_OnUnload_newt_drm(JavaVM *vm, void *reserved) {
}
#endif /* defined (JNI_VERSION_1_8) */