mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
10 lines
302 B
Java
10 lines
302 B
Java
import java.lang.invoke.MethodHandle;
|
|
|
|
class MyTest {
|
|
private void m(MethodHandle handle) {
|
|
I stringSupplier = <error descr="Bad return type in method reference: cannot convert java.lang.Object to java.lang.String">handle::invokeExact</error>;
|
|
}
|
|
}
|
|
interface I {
|
|
String n() throws Throwable;
|
|
} |