]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/testsuite/libjava.jni/throwit.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / testsuite / libjava.jni / throwit.java
diff --git a/libjava/testsuite/libjava.jni/throwit.java b/libjava/testsuite/libjava.jni/throwit.java
deleted file mode 100644 (file)
index 459622d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// Test to see if throw works.
-
-public class throwit
-{
-  static
-  {
-    System.loadLibrary ("throwit");
-  }
-
-  public static native void throwit (String name, boolean is_new);
-
-  public static void main (String[] args)
-  {
-    try
-      {
-       throwit ("java/lang/UnknownError", false);
-      }
-    catch (Throwable x)
-      {
-       System.out.println (x.getClass ());
-       System.out.println (x.getMessage ());
-      }
-    try
-      {
-       throwit ("java/lang/Throwable", true);
-      }
-    catch (Throwable x)
-      {
-       System.out.println (x.getClass ());
-       System.out.println (x.getMessage ());
-      }
-  }
-}