diff options
Diffstat (limited to 'meson/test cases/java/9 jdk/lib/native.c')
-rw-r--r-- | meson/test cases/java/9 jdk/lib/native.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/java/9 jdk/lib/native.c b/meson/test cases/java/9 jdk/lib/native.c new file mode 100644 index 000000000..0b5e71890 --- /dev/null +++ b/meson/test cases/java/9 jdk/lib/native.c @@ -0,0 +1,11 @@ +#include <jni.h> + +JNIEXPORT jint JNICALL +JNI_OnLoad(JavaVM *vm, void *reserved) +{ + return JNI_VERSION_1_8; +} + +JNIEXPORT void JNICALL +JNI_OnUnload(JavaVM *vm, void *reserved) +{} |