CMake/Tests/JavaJavah/C.java

20 lines
305 B
Java
Raw Normal View History

class C
{
public C()
{
}
public native void printName();
static {
try {
System.loadLibrary("B");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load.\n" + e);
System.exit(1);
}
}
}