RFR: JDK-8231461: static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference

Vicente Romero vicente.romero at oracle.com
Wed Dec 11 18:20:34 UTC 2019


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