8301721: lookup.findSpecial fails on Object method call from interface#14319
8301721: lookup.findSpecial fails on Object method call from interface#14319mlchung wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back mchung! A progress list of the required criteria for merging this PR into |
AlanBateman
left a comment
There was a problem hiding this comment.
This looks right, there's no superclass to search.
|
@mlchung This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 12 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. ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 74dc50b.
Your commit was automatically rebased without conflicts. |
Lookup.findSpecial fails on Object method call from an interface because of a bug in the implementation calling
Class::getSuperclasson an interface which has no superclass. The implementation should only search the method from its superclass only if it's a class. This patch is trivial and skip the superclass search if it's an interface.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/14319/head:pull/14319$ git checkout pull/14319Update a local copy of the PR:
$ git checkout pull/14319$ git pull https://git.openjdk.org/jdk.git pull/14319/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 14319View PR using the GUI difftool:
$ git pr show -t 14319Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/14319.diff
Webrev
Link to Webrev Comment