langtools/test/tools/javac/generics/7015430/T7015430.java
changeset 18909 8f9fc5d876e4
parent 8616 5a47f5535883
equal deleted inserted replaced
18908:f76cab33bee3 18909:8f9fc5d876e4
     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 {