mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +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,2 @@
|
|||
MethodReference68.java:21:10: compiler.err.cant.apply.symbol: kindname.method, g, MethodReference68.F<Z>,Z[], @493,int, kindname.class, MethodReference68, (compiler.misc.inferred.do.not.conform.to.upper.bounds: java.lang.Integer, MethodReference68.Foo,java.lang.Object)
|
||||
MethodReference68.java:21:12: compiler.err.invalid.mref: kindname.method, (compiler.misc.non-static.cant.be.ref: kindname.method, getName())
|
||||
2 errors
|
||||
1 error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue