RFR: 8320396: Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp [v7]

Adam Sotona asotona at openjdk.org
Wed May 15 10:47:23 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 one additional commit since the last revision:

  applied the suggested changes

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/16809/files
  - new: https://git.openjdk.org/jdk/pull/16809/files/9257b7ea..6f12b3bd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16809&range=05-06

  Stats: 92 lines in 1 file changed: 29 ins; 29 del; 34 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 core-libs-dev mailing list