From 06d16c53c7e2c3d3685ed4239efc4d3eb6a78023 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Wed, 12 Dec 2018 09:33:35 +0100 Subject: [PATCH] Add version constants for Java 9 and 10 The constants JNI_VERSION_9 and JNI_VERSION_10 are missing. I checked two different Java 11 versions and could not find a constant for Java 11. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index fd2a8f9..c479023 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,6 +87,8 @@ pub const JNI_VERSION_1_2: jint = 0x00010002; pub const JNI_VERSION_1_4: jint = 0x00010004; pub const JNI_VERSION_1_6: jint = 0x00010006; pub const JNI_VERSION_1_8: jint = 0x00010008; +pub const JNI_VERSION_9: jint = 0x00090000; +pub const JNI_VERSION_10: jint = 0x000a0000; #[repr(C)] #[derive(Copy)]