RFR: 8320396: Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp [v4]
Adam Sotona
asotona at openjdk.org
Mon May 6 18:56:59 UTC 2024
On Thu, 2 May 2024 10:30:06 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> 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 28 commits:
>
> - Merge branch 'master' into JDK-8320396-verifier-extension
> - added references to jvms
> - Merge remote-tracking branch 'openjdk/master' into JDK-8320396-verifier-extension
> - work in progress
> - work in progress
> - work in progress
> - work in progress
> - work in progress
> - removed string templates from test
> - work in progress
> - ... and 18 more: https://git.openjdk.org/jdk/compare/ae82405f...3ebc780a
The patch also includes a `ClassPrinterImpl` fix to support duplicate attributes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16809#issuecomment-2096696963
More information about the compiler-dev
mailing list