RFR: 8364360: Defining hidden class with no room in constant pool crashes the VM [v7]
Chen Liang
liach at openjdk.org
Fri Oct 31 22:59:03 UTC 2025
On Fri, 31 Oct 2025 19:24:23 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Check for constant pool index overflow and throw ClassFormatError instead of crashing.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Add an explicit overflow test.
This updated parser and test look good.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27964#pullrequestreview-3406455308
More information about the hotspot-runtime-dev
mailing list