Files
2022-07-27 10:00:37 +00:00

15 lines
242 B
Java

// "Create local variable 'v'" "true-preview"
public class A {
void foo() {
L l = () -> {
MyException v;
throw v
}
}
interface L {
void g() throws MyException;
}
class MyException extends Exception {}
}