gcc/libjava/testsuite/libjava.jni/findclass2.java

25 lines
338 B
Java

// Test that FindClass initializes the class.
public class findclass2
{
public static class inner
{
static
{
System.out.println("hello");
}
}
public static native void searchClass();
static
{
System.loadLibrary("findclass2");
}
public static void main(String[] args)
{
searchClass();
}
}