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

Coleen Phillimore coleenp at openjdk.org
Mon Nov 3 12:39:56 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.

Thanks for reviewing David, Matias and Chen.

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

PR Comment: https://git.openjdk.org/jdk/pull/27964#issuecomment-3480310834


More information about the hotspot-runtime-dev mailing list