969N/A/*
969N/A * @test /nodynamiccopyright/
995N/A * @ignore backing out 7034511, see 7040883
995N/A * @bug 7034511 7040883
969N/A * @summary Loophole in typesafety
969N/A * @compile/fail/ref=T7034511b.out -XDrawDiagnostics T7034511b.java
969N/A */
969N/A
969N/Aclass T7034511b {
969N/A static class MyList<E> {
969N/A E toArray(E[] e) { return null; }
969N/A }
969N/A
969N/A void test(MyList<?> ml, Object o[]) {
969N/A ml.toArray(o);
969N/A }
969N/A}