RFR: JDK-8231461: static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed Dec 11 18:49:09 UTC 2019
The basic fix is OK.
The test is a little light and may be a candidate for a follow-up fix to
provide a small combo test covering static/non-static bound/unbound, and
maybe verifying error messages.
-- Jon
On 12/11/2019 10:20 AM, Vicente Romero wrote:
> Hi,
>
> Please review this P4 targeted to 14. Javac is failing to check the
> staticness of the most specific candidate, instead it is checking the
> staticness of all the possible candidates. This patch fixes that issue.
>
> Thanks,
> Vicente
>
> PS, the fix was originally developed by Maurizio
>
> http://cr.openjdk.java.net/~vromero/8231461/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8231461
More information about the compiler-dev
mailing list