gcc/libjava/testsuite/libjava.jni/findclass.java
Tom Tromey 04297fe74f findclass.java: New file
* libjava.jni/findclass.java: New file
	* libjava.jni/findclass.c: New file
	* libjava.jni/findclass.out: New file

From-SVN: r32011
2000-02-16 18:35:05 +00: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"));
}
}