]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/testsuite/libjava.jni/noclass.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / testsuite / libjava.jni / noclass.java
diff --git a/libjava/testsuite/libjava.jni/noclass.java b/libjava/testsuite/libjava.jni/noclass.java
deleted file mode 100644 (file)
index 7e0b8c3..0000000
+++ /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");
-      }
-  }
-}