RFR: 8364360: Defining hidden class with no room in constant pool crashes the VM [v7]

Matias Saavedra Silva matsaave at openjdk.org
Fri Oct 31 19:46: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.

Looks good!

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

Marked as reviewed by matsaave (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27964#pullrequestreview-3405895065


More information about the hotspot-runtime-dev mailing list