BarNeg1a.java revision 2556:306ecd42b96f
1/* 2 * @test /nodynamiccopyright/ 3 * @bug 6318240 4 * @summary Creation of array of inner class of an enclosing wildcard type doesn't work 5 * @compile/fail/ref=BarNeg1a.out -XDrawDiagnostics BarNeg1a.java 6 */ 7 8class BarNeg1a<T> { 9 Object object = new BarNeg1a<?>.Inner.InnerMost(); 10 static class Inner<S> { 11 static class InnerMost { 12 } 13 } 14} 15