Retro68/gcc/libjava/testsuite/libjava.jni/findclass2.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

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();
}
}