8370441: Remove unnecessary/confusing null check in Verifier::verify()#29314
8370441: Remove unnecessary/confusing null check in Verifier::verify()#29314Arraying wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back phubner! A progress list of the required criteria for merging this PR into |
|
@Arraying 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 201 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@dholmes-ora, @coleenp) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
This reverts commit 78fa298.
dholmes-ora
left a comment
There was a problem hiding this comment.
Looks good.
The analysis seems correct and I agree that checking for impossible conditions is confusing.
Thanks
|
Thanks for the reviews! |
|
/sponsor |
|
Going to push as commit e21cb85.
Your commit was automatically rebased without conflicts. |
|
@dholmes-ora @Arraying Pushed as commit e21cb85. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
@Arraying please merge with master before integrating if your PR gets a long way behind the master branch. Thanks |
JDK-8059924 introduced a nullcheck for a klass' Java mirror which runs during verification. However, in the modern VM, during verification time, the mirror is guaranteed to exist making the check unnecessary and misleading when reading the code. While implementing JDK-8366488 it caused for quite some confusion. With this PR it is my intention to make sure that nobody gets side-tracked by this impossible condition.
For an insight into previous discussion on this topic, please see the associated JBS issue.
Testing: tiers 1-5 on Linux x64, AArch64, macOS x64, AArch64, Windows x64.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/29314/head:pull/29314$ git checkout pull/29314Update a local copy of the PR:
$ git checkout pull/29314$ git pull https://git.openjdk.org/jdk.git pull/29314/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 29314View PR using the GUI difftool:
$ git pr show -t 29314Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/29314.diff
Using Webrev
Link to Webrev Comment