summaryrefslogtreecommitdiff
path: root/libjava/classpath/testsuite/java.lang/ExceptionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/testsuite/java.lang/ExceptionTest.java')
-rw-r--r--libjava/classpath/testsuite/java.lang/ExceptionTest.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/libjava/classpath/testsuite/java.lang/ExceptionTest.java b/libjava/classpath/testsuite/java.lang/ExceptionTest.java
deleted file mode 100644
index 7a464db43f1..00000000000
--- a/libjava/classpath/testsuite/java.lang/ExceptionTest.java
+++ /dev/null
@@ -1,21 +0,0 @@
-public class ExceptionTest
-{
- static int foo() throws ArrayIndexOutOfBoundsException {
- int f[] = new int[10];
-
- return f[26];
- }
-
- public static void main (String args[]) {
- int f;
-
- try {
- f = foo();
- }
- catch (ArrayIndexOutOfBoundsException e) {
- System.out.println("PASSED: " + e.toString());
- } catch (Exception e) {
- System.out.println("FAILED: " + e.toString());
- }
- }
-}