> 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 with a new target base due to a merge or a rebase. The pull request now contains 37 commits: - fixed ParserVerifier and VerifierSelfTest - Merge branch 'master' into JDK-8320396-verifier-extension - added verification of TypeAnnotation attributes - added verification of SMT attribute - added verification of module-related attributes - applied the suggested changes - applied the suggested changes - fixed error thrown by VerifierImpl - applied suggested changes - Merge branch 'master' into JDK-8320396-verifier-extension - ... and 27 more: https://git.openjdk.org/jdk/compare/cfdc64fc...b352b794 ------------- Changes: https://git.openjdk.org/jdk/pull/16809/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=08 Stats: 869 lines in 6 files changed: 835 ins; 7 del; 27 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