delete catch fix: introduce ARM

This commit is contained in:
Anna Kozlova
2014-01-02 11:59:13 +01:00
parent ef71e0bc15
commit eb258ae064
3 changed files with 34 additions and 1 deletions
@@ -0,0 +1,16 @@
// "Delete catch for 'java.lang.ClassNotFoundException'" "true"
import java.io.*;
class Cl implements AutoCloseable {
public void close() throws IOException {
in.close();
}
}
class a {
void f() throws IOException {
try (Cl c = new Cl()) {
c.close();
}
}
}
@@ -0,0 +1,17 @@
// "Delete catch for 'java.lang.ClassNotFoundException'" "true"
import java.io.*;
class Cl implements AutoCloseable {
public void close() throws IOException {
in.close();
}
}
class a {
void f() throws IOException {
try (Cl c = new Cl()) {
c.close();
} catch (<caret>ClassNotFoundException e) {
}
}
}