test/tools/javac/generics/7034511/T7034511b.java

changeset 1721
abd153854f16
parent 996
384ea9a98912
child 1901
db2c539819dd
equal deleted inserted replaced
1717:8e27e84de2e9 1721:abd153854f16
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 }

mercurial