Mon, 02 Sep 2013 22:38:36 +0100
8016177: structural most specific and stuckness
Reviewed-by: jjg, vromero
Contributed-by: maurizio.cimadamore@oracle.com
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 6569633
4 * @author mcimadamore
5 * @summary Varargs: parser error when varargs element type is an array
6 * @compile/fail/ref=T6569633.out -XDrawDiagnostics T6569633.java
7 */
9 class T6569633 {
10 void m1 (Integer... i[]) { }
11 void m2 (Integer[]... i) { }
12 void m3 (Integer[]... i[]) { }
13 }