mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
199 B
Java
13 lines
199 B
Java
import java.io.IOException;
|
|
|
|
interface Callable<V> {
|
|
V call() throws Exception;
|
|
}
|
|
|
|
class Test2 {
|
|
static <V> void m(Callable<V> c){}
|
|
{
|
|
m(() -> {throw new IOException();});
|
|
}
|
|
}
|