RFR: 8182774: Verify code in javap [v3]
Adam Sotona
asotona at openjdk.org
Fri May 31 06:49:28 UTC 2024
> 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
Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 34 commits:
- Merge branch 'master' into JDK-8182774-javap-verify
# 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
- fixed typo
- added VerificationTest
- Merge branch 'JDK-8320396-verifier-extension' into JDK-8182774-javap-verify
- Merge branch 'master' into JDK-8320396-verifier-extension
- added description to javap cmd help and man page
- 8182774: Verify code in javap
- added references to jvms
- Merge remote-tracking branch 'openjdk/master' into JDK-8320396-verifier-extension
- work in progress
- ... and 24 more: https://git.openjdk.org/jdk/compare/22ef827e...2cbcb1b4
-------------
Changes: https://git.openjdk.org/jdk/pull/18629/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18629&range=02
Stats: 101 lines in 6 files changed: 101 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/18629.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18629/head:pull/18629
PR: https://git.openjdk.org/jdk/pull/18629
More information about the compiler-dev
mailing list