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
mcimadamore@122 | 1 | Unchecked.java:16:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
duke@1 | 2 | Unchecked.java:17:14: compiler.warn.unchecked.call.mbr.of.raw.type: add(E), java.util.List |
mcimadamore@122 | 3 | Unchecked.java:26:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 4 | Unchecked.java:35:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 5 | Unchecked.java:46:21: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 6 | Unchecked.java:57:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
duke@1 | 7 | Unchecked.java:58:14: compiler.warn.unchecked.call.mbr.of.raw.type: add(E), java.util.List |
mcimadamore@122 | 8 | 7 warnings |