diff options
Diffstat (limited to 'libjava/testsuite/libjava.jni/noclass.java')
-rw-r--r-- | libjava/testsuite/libjava.jni/noclass.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libjava/testsuite/libjava.jni/noclass.java b/libjava/testsuite/libjava.jni/noclass.java deleted file mode 100644 index 7e0b8c3..0000000 --- a/libjava/testsuite/libjava.jni/noclass.java +++ /dev/null @@ -1,25 +0,0 @@ -// 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) - { - try - { - find_it (); - } - catch (Throwable _) - { - // If find_it() causes a crash, or doesn't throw an exception, - // we won't be running this next line. - System.out.println ("Ok"); - } - } -} |