Fri, 10 Dec 2010 15:24:17 +0000
6199075: Unambiguous varargs method calls flagged as ambiguous
Summary: javac does not implement overload resolution w.r.t. varargs methods as described in the JLS
Reviewed-by: jjg
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 6491592
4 * @summary Compiler crashes on assignment operator
5 * @author alex.buckley@...
6 * @compile/fail/ref=T6491592.out -XDrawDiagnostics T6491592.java
7 */
9 public class T6491592 {
10 public static void main(String... args) {
11 Object o = null;
12 o += null;
13 }
14 }