mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
13 lines
262 B
Java
13 lines
262 B
Java
// "Surround with try/catch" "true-preview"
|
|
class C {
|
|
native boolean foo() throws Exception;
|
|
|
|
void test() {
|
|
try {
|
|
if(foo() && foo())
|
|
} catch (Exception e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
|
|
} |