gcc/libjava/testsuite/libjava.jni/invoke.java
Tom Tromey 73d7c68909 virtual.java: New file.
* libjava.jni/virtual.java: New file.
	* libjava.jni/virtual.c: New file.
	* libjava.jni/virtual.out: New file.
	* libjava.jni/final_method.java: New file.
	* libjava.jni/final_method.c: New file.
	* libjava.jni/final_method.out: New file.
	* libjava.jni/overload.java: New file.
	* libjava.jni/overload.c: New file.
	* libjava.jni/overload.out: New file.
	* libjava.jni/simple_int.java: New file.
	* libjava.jni/simple_int.c: New file.
	* libjava.jni/simple_int.out: New file.
	* libjava.jni/invoke.out: New file.
	* libjava.jni/invoke.c: New file.
	* libjava.jni/invoke.java: New file.

From-SVN: r31996
2000-02-16 00:19:55 +00:00

19 lines
321 B
Java

// Test to make sure the minimal invocation works.
public class invoke
{
public static native int val ();
static
{
System.out.println ("trying...");
System.loadLibrary ("invoke");
System.out.println ("loaded");
}
public static void main (String[] args)
{
System.out.println (val ());
}
}