blob: c5283294ce0ba0fc3612f5ecff7477600d47fe53 [file] [log] [blame]
import java.util.*;
public class Test {
static <E extends Exception, T> void foo(List<T> l, Class<E> ec) throws E {
}
public static void main(String[] s) {
foo(new ArrayList(), RuntimeException.class); //IDEA says we have an unhandled exception here
}
}