mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
18 lines
352 B
Java
18 lines
352 B
Java
// "Delete catch for 'java.lang.ClassNotFoundException'" "true-preview"
|
|
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) {
|
|
}
|
|
}
|
|
}
|