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

17 lines
272 B
Java

// Test FindClass part of JNI.
public class findclass
{
static
{
System.loadLibrary ("findclass");
}
public static native Class doit (String name);
public static void main (String[] args)
{
System.out.println ("" + doit ("java/lang/String"));
}
}