RFR: 8364360: Defining hidden class with no room in constant pool crashes the VM [v4]
David Holmes
dholmes at openjdk.org
Wed Oct 29 01:38:03 UTC 2025
On Tue, 28 Oct 2025 13:11:43 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:
>
> Make test not have magic number.
Other than the assert (not precond please), this looks fine.
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27964#pullrequestreview-3391409599
More information about the hotspot-runtime-dev
mailing list