8231461: static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference #107
This patch fixes the following issue, for code like:
javac is issuing an invalid method reference error even though the static method is applicable. This is due to a regression on the implementation of the following assertion on section 15.13.1 of the JLS 14:
Apart from fixing the mentioned regression, this patch also adds a debug feature for the compiler to print out the findings during the search for an applicable method reference. The information is printed out if a debug flag is passed to the compiler.
The text was updated successfully, but these errors were encountered:
…found in unbound lookup' when resolving method reference
@vicente-romero-oracle This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 21 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@vicente-romero-oracle Since your change was applied there have been 22 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit ac4cd2e.