mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
10 lines
281 B
Java
10 lines
281 B
Java
class Test {
|
|
interface F<T extends ClassNotFoundException> {
|
|
void m() throws T;
|
|
}
|
|
<K extends ClassNotFoundException> void foo(F<K> f) throws K { }
|
|
|
|
{
|
|
<error descr="Unhandled exception: java.lang.ClassNotFoundException">foo</error>(() -> {});
|
|
}
|
|
} |