RFR: 8320396: Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp [v5]
Adam Sotona
asotona at openjdk.org
Thu May 9 10:11:22 UTC 2024
> ClassFile API `jdk.internal.classfile.verifier.VerifierImpl` performed only bytecode-level class verification.
> This patch adds `jdk.internal.classfile.verifier.ParserVerifier` with additional class checks inspired by `hotspot/share/classfile/classFileParser.cpp`.
>
> Also new `VerifierSelfTest::testParserVerifier` has been added.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with two additional commits since the last revision:
- fixed error thrown by VerifierImpl
- applied suggested changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16809/files
- new: https://git.openjdk.org/jdk/pull/16809/files/3ebc780a..586fa4b3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=03-04
Stats: 7 lines in 2 files changed: 2 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/16809.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16809/head:pull/16809
PR: https://git.openjdk.org/jdk/pull/16809
More information about the compiler-dev
mailing list