test/tools/javac/T5048776b.out

Mon, 01 Jul 2013 14:57:03 +0100

author
mcimadamore
date
Mon, 01 Jul 2013 14:57:03 +0100
changeset 1875
f559ef7568ce
parent 221
6ada6122dd4f
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7034798: Ambiguity error for abstract method call is too eager
Summary: Javac should wait and see if ambiguous methods can be reconciled at the end of an overload resolution round
Reviewed-by: jjg, vromero

     1 T5048776.java:12:10: compiler.warn.override.varargs.missing: (compiler.misc.varargs.override: foo(java.lang.Object...), A1a, foo(java.lang.Object[]), A1)
     2 T5048776.java:20:10: compiler.warn.override.varargs.extra: (compiler.misc.varargs.override: foo(java.lang.Object[]), A2a, foo(java.lang.Object...), A2)
     3 2 warnings

mercurial