[jdk21u-dev] RFR: 8311076: RedefineClasses doesn't check for ConstantPool overflow

Rui Li duke at openjdk.org
Tue Sep 9 01:48:38 UTC 2025


A clean patch for https://bugs.openjdk.org/browse/JDK-8311076

This patch adds u2 overflow check when merging constant pools. Tests are running. In tip for over a year.

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

Commit messages:
 - Backport e33d8a219811930492e684e19a73dadb09590052

Changes: https://git.openjdk.org/jdk21u-dev/pull/2160/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2160&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311076
  Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2160.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2160/head:pull/2160

PR: https://git.openjdk.org/jdk21u-dev/pull/2160


More information about the jdk-updates-dev mailing list