mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
delete catch fix: introduce ARM
This commit is contained in:
+16
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user