[jdk11u-dev] RFR: 8271459: C2: Missing NegativeArraySizeException when creating StringBuilder with negative capacity

Martin Doerr mdoerr at openjdk.java.net
Mon Oct 11 17:55:23 UTC 2021


Backport of JDK-8271459. Fix applies almost cleanly (ciSymbol was renamed to ciSymbols). Skipped tests because IR test framework is not in 11u.

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

Commit messages:
 - Backport 3953e0774c59c5e936e752aa08b6b6778e232994

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/510/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=510&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271459
  Stats: 51 lines in 1 file changed: 49 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/510.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/510/head:pull/510

PR: https://git.openjdk.java.net/jdk11u-dev/pull/510


More information about the jdk-updates-dev mailing list