mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
481bc252f3
(cherry picked from commit d2cbf3f2833104c3a0381059b0d6ef8ac0b3c94c)
10 lines
281 B
Java
10 lines
281 B
Java
class Test {
|
|
interface F<T extends ClassNotFoundException> {
|
|
void _() throws T;
|
|
}
|
|
<K extends ClassNotFoundException> void foo(F<K> f) throws K { }
|
|
|
|
{
|
|
<error descr="Unhandled exception: java.lang.ClassNotFoundException">foo(() -> {});</error>
|
|
}
|
|
} |