langtools/test/tools/javac/generics/6723444/T6723444.java
changeset 18909 8f9fc5d876e4
parent 6150 d055fa8ced62
equal deleted inserted replaced
18908:f76cab33bee3 18909:8f9fc5d876e4
     2  * @test /nodynamiccopyright/
     2  * @test /nodynamiccopyright/
     3  * @bug 6723444
     3  * @bug 6723444
     4  *
     4  *
     5  * @summary javac fails to substitute type variables into a constructor's throws clause
     5  * @summary javac fails to substitute type variables into a constructor's throws clause
     6  * @author Mark Mahieu
     6  * @author Mark Mahieu
     7  * @compile/fail/ref=T6723444.out -XDrawDiagnostics T6723444.java
     7  * @compile/fail/ref=T6723444_1.out -Xlint:-options -source 7 -XDrawDiagnostics T6723444.java
       
     8  * @compile/fail/ref=T6723444_2.out -XDrawDiagnostics T6723444.java
     8  *
     9  *
     9  */
    10  */
    10 public class T6723444 {
    11 public class T6723444 {
    11 
    12 
    12     static class Foo<X extends Throwable> {
    13     static class Foo<X extends Throwable> {