Debian Codegraph @

test cases/java/9 jni/src/com/mesonbuild/JniTest.java

raw
1 package com.mesonbuild;
2
3 public final class JniTest {
4 private static native int jni_test();
5
6 public static void main(String[] args) {
7 if (jni_test() != Configured.FINGERPRINT) {
8 throw new RuntimeException("jdk_test() did not return 0");
9 }
10 }
11
12 static {
13 System.loadLibrary("jnijava");
14 }
15 }