-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8182774: Verify code in javap #18629
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
… hotspot/share/classfile/classFileParser.cpp
# Conflicts: # src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerificationWrapper.java # test/jdk/jdk/classfile/VerifierSelfTest.java
👋 Welcome back asotona! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - this was a long-awaited enhancement!
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout JDK-8182774-javap-verify
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@asotona this pull request can not be integrated into git checkout JDK-8182774-javap-verify
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
# Conflicts: # src/java.base/share/classes/jdk/internal/classfile/impl/verifier/ParserVerifier.java # src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerifierImpl.java # test/jdk/jdk/classfile/VerifierSelfTest.java
/integrate |
Going to push as commit a7864af.
Your commit was automatically rebased without conflicts. |
This patch adds
javap -verify
option to check the class and print obvious verification errors found.Implementation depends on extended Class-File API verification support, so PR #16809 is important to precede.
The new
javap
option is mentioned in man pages and a release note will be provided.Please review.
Thank you,
Adam
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/18629/head:pull/18629
$ git checkout pull/18629
Update a local copy of the PR:
$ git checkout pull/18629
$ git pull https://git.openjdk.org/jdk.git pull/18629/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 18629
View PR using the GUI difftool:
$ git pr show -t 18629
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/18629.diff
Webrev
Link to Webrev Comment