test/tools/javac/generics/7034511/T7034511a.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=T7034511a.out -XDrawDiagnostics T7034511a.java 6 * @compile/fail/ref=T7034511a.out -XDrawDiagnostics T7034511a.java
7 */ 7 */
8
9 // backing out 7034511, see 7040883
8 10
9 class T7034511a { 11 class T7034511a {
10 12
11 interface A<T> { 13 interface A<T> {
12 void foo(T x); 14 void foo(T x);

mercurial