mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8068995: Cleanup method reference lookup code
Simplify method reference code lookup and generate better/more uniform diagnostics Reviewed-by: vromero
This commit is contained in:
parent
1b90760ef4
commit
82db21e08d
16 changed files with 371 additions and 298 deletions
|
@ -1,3 +1,3 @@
|
|||
MethodReference55.java:36:11: compiler.err.invalid.mref: kindname.method, (compiler.misc.static.bound.mref)
|
||||
MethodReference55.java:39:11: compiler.err.invalid.mref: kindname.method, (compiler.misc.static.bound.mref)
|
||||
MethodReference55.java:36:11: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.static.method.in.bound.lookup: kindname.method, m(java.lang.Object)))
|
||||
MethodReference55.java:39:9: compiler.err.cant.apply.symbol: kindname.method, g, MethodReference55.V, @1384, kindname.class, MethodReference55<X>, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.static.method.in.bound.lookup: kindname.method, m(java.lang.Object))))
|
||||
2 errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue