blob: 2aaf3835ea5268929fbeb8910b4846db71667f38 [file] [log] [blame]
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>
}
}