equal
deleted
inserted
replaced
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> { |