langtools/test/tools/javac/generics/7034511/T7034511a.java
changeset 17544 80db48a54a9f
parent 9607 94b7adcaccad
child 18914 6edcda38fbdd
equal deleted inserted replaced
17286:fec581c36de4 17544:80db48a54a9f
     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);