mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
13 lines
338 B
Java
13 lines
338 B
Java
class Test {
|
|
Test() {
|
|
foo(<error descr="Unhandled exception: java.lang.Exception">this::fs</error>);
|
|
foo((s) -> <error descr="Unhandled exception: java.lang.Exception">fs</error>(s));
|
|
}
|
|
|
|
void foo(I<String, String> iss) {}
|
|
String fs(String s) throws Exception { throw new Exception(); }
|
|
}
|
|
|
|
interface I<T, R> {
|
|
R f(T t);
|
|
} |