blob: 361ebd44b0990bd5aa7884cd0ac875c82ccb8259 [file]
interface I<T extends Exception> {
void m() throws T;
}
class C {
void x(I<?> i) {
i.<error descr="Unhandled exception: java.lang.Exception">m</error>();
}
void y(I<? extends Exception> i) {
i.<error descr="Unhandled exception: java.lang.Exception">m</error>();
}
}