mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
testdata for IDEA-70890
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user