[jdk11u-dev] RFR: 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result [v3]

Radek Čáp duke at openjdk.org
Tue Nov 19 12:26:05 UTC 2024


> Backport for https://bugs.openjdk.org/browse/JDK-8337066
> 
> When calling StringBuffer/StringBuilder.reverse with 2byte string repeatedly, the API returns wrong result.
> 
> This is a clean backport.

Radek Čáp has updated the pull request incrementally with one additional commit since the last revision:

  Fixed indentation.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2961/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2961/files/667b0f6a..4b57a7db

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2961&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2961&range=01-02

  Stats: 8 lines in 1 file changed: 1 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2961.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2961/head:pull/2961

PR: https://git.openjdk.org/jdk11u-dev/pull/2961


More information about the jdk-updates-dev mailing list