-
Notifications
You must be signed in to change notification settings - Fork 231
8364660: ClassVerifier::ends_in_athrow() should be removed #4128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Welcome back goetz! A progress list of the required criteria for merging this PR into |
|
@GoeLin 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 20 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 |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
|
HI @matias9927, @dean-long, @liach |
|
I believe that particular JVMS change was tracked by https://bugs.openjdk.org/browse/JDK-8302497, which removes the sentence:
So this JBS issue makes it clear this has been applicable to previous releases, and I believe you can backport this to much older versions. |
|
@GoeLin , I can't seem to find the comment by @schmelter-sap, but I think going all the way back to jdk 8, the HotSpot implementation and the specs agree that the same exception handler can't handle both the before and after state, so if we get to the point where ends_in_athrow() is called, verification is going to fail no matter what, because of a stackmap mismatch. We have had some internal discussions here at Oracle, and agreed that ends_in_athrow() can be removed going back to jdk 8, so I think this PR is correct. |
|
Hi @liach and @dean-long, thanks for shedding light on this! |
|
/integrate |
|
Going to push as commit 3f884a9.
Your commit was automatically rebased without conflicts. |
I backport this for parity with 17.0.18-oracle from 21.
Resolved Copyright in verifier.hpp.
Skipped VerifierImpl.java, that was added by https://bugs.openjdk.org/browse/JDK-8294982: Implementation of Classfile API
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/4128/head:pull/4128$ git checkout pull/4128Update a local copy of the PR:
$ git checkout pull/4128$ git pull https://git.openjdk.org/jdk17u-dev.git pull/4128/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4128View PR using the GUI difftool:
$ git pr show -t 4128Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/4128.diff
Using Webrev
Link to Webrev Comment