view test/langtools/tools/javac/lambda/8019480/T8019480.out @ 47360:2e947e1bd907

8187978: javac can show overload error messages that include non-valid candidates Reviewed-by: mcimadamore Contributed-by: bsrbnd@gmail.com
author vromero
date Mon, 02 Oct 2017 10:04:22 -0700
parents 71c04702a3d5
children 7d02545ec122
line wrap: on
line source
T8019480.java:21:34: compiler.err.cant.apply.symbols: kindname.method, add, java.lang.Object,{(compiler.misc.inapplicable.method: kindname.method, java.util.List, add(U), (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: java.lang.Object, U))),(compiler.misc.inapplicable.method: kindname.method, java.util.List, add(int,U), (compiler.misc.arg.length.mismatch))}
T8019480.java:21:46: compiler.err.report.access: clone(), protected, java.lang.Object
2 errors