equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @ignore backing out 7034511, see 7040883 |
3 * @ignore 7041019 Bogus type-variable substitution with array types with dependencies on accessibility check |
4 * @bug 7034511 7040883 |
4 * @bug 7034511 7040883 |
5 * @summary Loophole in typesafety |
5 * @summary Loophole in typesafety |
6 * @compile/fail/ref=T7034511b.out -XDrawDiagnostics T7034511b.java |
6 * @compile/fail/ref=T7034511b.out -XDrawDiagnostics T7034511b.java |
7 */ |
7 */ |
|
8 |
|
9 // backing out 7034511, see 7040883 |
8 |
10 |
9 class T7034511b { |
11 class T7034511b { |
10 static class MyList<E> { |
12 static class MyList<E> { |
11 E toArray(E[] e) { return null; } |
13 E toArray(E[] e) { return null; } |
12 } |
14 } |