Integrated: 8364360: Defining hidden class with no room in constant pool crashes the VM
Coleen Phillimore
coleenp at openjdk.org
Mon Nov 3 12:40:00 UTC 2025
On Thu, 23 Oct 2025 23:54:10 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Check for constant pool index overflow and throw ClassFormatError instead of crashing.
> Tested with tier1-4.
This pull request has now been integrated.
Changeset: 6f452ac4
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6f452ac46f17b89f8a9f661ffc8fadc663ae124e
Stats: 64 lines in 2 files changed: 64 ins; 0 del; 0 mod
8364360: Defining hidden class with no room in constant pool crashes the VM
Reviewed-by: matsaave, liach, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/27964
More information about the hotspot-runtime-dev
mailing list