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@674 | 1 | InvokeMHTrans.java:59:39: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 2 | InvokeMHTrans.java:62:38: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 3 | InvokeMHTrans.java:65:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 4 | InvokeMHTrans.java:66:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 5 | InvokeMHTrans.java:68:31: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 6 | InvokeMHTrans.java:72:32: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 7 | InvokeMHTrans.java:83:35: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 8 | InvokeMHTrans.java:87:41: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 9 | InvokeMHTrans.java:93:37: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 10 | InvokeMHTrans.java:96:34: compiler.warn.type.parameter.on.polymorphic.signature |
mcimadamore@674 | 11 | - compiler.err.warnings.and.werror |
mcimadamore@674 | 12 | 1 error |
mcimadamore@674 | 13 | 10 warnings |