equal
deleted
inserted
replaced
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @bug 7015430 |
3 * @bug 7015430 |
4 * |
4 * |
5 * @summary Incorrect thrown type determined for unchecked invocations |
5 * @summary Incorrect thrown type determined for unchecked invocations |
6 * @author Daniel Smith |
6 * @author Daniel Smith |
7 * @compile/fail/ref=T7015430.out -Xlint:unchecked -XDrawDiagnostics T7015430.java |
7 * @compile/fail/ref=T7015430_1.out -source 7 -Xlint:-options,unchecked -XDrawDiagnostics T7015430.java |
|
8 * @compile/fail/ref=T7015430_2.out -Xlint:unchecked -XDrawDiagnostics T7015430.java |
8 * |
9 * |
9 */ |
10 */ |
10 |
11 |
11 class T7015430 { |
12 class T7015430 { |
12 static <E extends Exception> Iterable<E> empty(Iterable<E> arg) throws E { |
13 static <E extends Exception> Iterable<E> empty(Iterable<E> arg) throws E { |