mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moved to community
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// LocalsOrMyInstanceFieldsControlFlowPolicy
|
||||
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileReader;
|
||||
|
||||
class ExceptionTestCase {
|
||||
|
||||
void cf1(int i) {<caret>
|
||||
Object o;
|
||||
try {
|
||||
o = new FileReader(""); //
|
||||
}
|
||||
catch (FileNotFoundException e) { //
|
||||
}
|
||||
finally {
|
||||
if (i==1) return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user