RFR: 8356152: String.concat can throw StringIndexOutOfBoundsException [v2]

Raffaello Giulietti rgiulietti at openjdk.org
Mon May 5 13:36:05 UTC 2025


> A fix to throw `OutOfMemoryError`, as done in releases ≤ 23.

Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:

  Simplified test slightly.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25038/files
  - new: https://git.openjdk.org/jdk/pull/25038/files/a70ccd20..900a0b8d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25038&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25038&range=00-01

  Stats: 23 lines in 1 file changed: 2 ins; 13 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/25038.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25038/head:pull/25038

PR: https://git.openjdk.org/jdk/pull/25038


More information about the core-libs-dev mailing list