noclass.c: New file.

* libjava.jni/noclass.c: New file.
	* libjava.jni/noclass.out: New file.
	* libjava.jni/noclass.java: New file.

From-SVN: r32226
This commit is contained in:
Tom Tromey
2000-02-27 21:42:40 +00:00
committed by Tom Tromey
parent fed3cef0db
commit a51c1a1a0a
4 changed files with 34 additions and 0 deletions
@@ -0,0 +1,18 @@
// Test to make sure JNI implementation catches exceptions.
public class noclass
{
static
{
System.loadLibrary ("noclass");
}
public static native void find_it ();
public static void main (String[] args)
{
find_it ();
// If find_it() causes a crash, we won't be running this next line.
System.out.println ("Ok");
}
}