> 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 three additional commits since the last revision: - added verification of TypeAnnotation attributes - added verification of SMT attribute - added verification of module-related attributes ------------- Changes: - all: https://git.openjdk.org/jdk/pull/16809/files - new: https://git.openjdk.org/jdk/pull/16809/files/6f12b3bd..71818488 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=06-07 Stats: 139 lines in 2 files changed: 136 ins; 1 del; 2 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