From ed0ca4515f18cc94db319e09d27800e8d8d82b87 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 9 Oct 2020 08:47:33 -0400 Subject: [PATCH] note changes to v15 --- jni.d | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jni.d b/jni.d index 9090c22..04f5600 100644 --- a/jni.d +++ b/jni.d @@ -2102,6 +2102,9 @@ enum JNI_VERSION_1_2 = 0x00010002; enum JNI_VERSION_1_4 = 0x00010004; enum JNI_VERSION_1_6 = 0x00010006; enum JNI_VERSION_1_8 = 0x00010008; +enum JNI_VERSION_9 = 0x00090000; +enum JNI_VERSION_10 = 0x000a0000; +enum JNI_VERSION_10_Plus = JNI_VERSION_10; // same version used beyond, see https://docs.oracle.com/en/java/javase/15/docs/specs/jni/functions.html enum JNI_OK = 0; enum JNI_ERR = -1; @@ -2351,7 +2354,8 @@ struct JNINativeInterface jobject function(JNIEnv*, void*, jlong) NewDirectByteBuffer; void* function(JNIEnv*, jobject) GetDirectBufferAddress; jlong function(JNIEnv*, jobject) GetDirectBufferCapacity; - jobjectRefType function(JNIEnv*, jobject) GetObjectRefType; + jobjectRefType function(JNIEnv*, jobject) GetObjectRefType; // since version 6 + jobject GetModule(JNIEnv *env, jclass clazz); // since version 9 } struct _JNIEnv