1 /* |
1 /* |
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @ignore 7041019 Bogus type-variable substitution with array types with dependencies on accessibility check |
3 * @bug 7034511 7040883 7041019 |
4 * @bug 7034511 7040883 |
|
5 * @summary Loophole in typesafety |
4 * @summary Loophole in typesafety |
6 * @compile/fail/ref=T7034511a.out -XDrawDiagnostics T7034511a.java |
5 * @compile/fail/ref=T7034511a.out -XDrawDiagnostics T7034511a.java |
7 */ |
6 */ |
8 |
|
9 // backing out 7034511, see 7040883 |
|
10 |
7 |
11 class T7034511a { |
8 class T7034511a { |
12 |
9 |
13 interface A<T> { |
10 interface A<T> { |
14 void foo(T x); |
11 void foo(T x); |