mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
more java tests moved to community
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "Generalize catch for 'java.io.FileNotFoundException' to 'java.lang.IllegalAccessException'" "false"
|
||||
import java.io.*;
|
||||
|
||||
|
||||
public class c1 {
|
||||
void f() {
|
||||
FileInputStream fis = null;
|
||||
try {
|
||||
fis = new FileInputStream("");
|
||||
DataInputStream dis = new DataInputStream(fis);
|
||||
<caret>throw new IllegalAccessException();
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user