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

Severin Gehwolf sgehwolf at openjdk.org
Wed Nov 13 20:52:39 UTC 2024


On Fri, 8 Nov 2024 12:44:55 GMT, Radek Čáp <duke at openjdk.org> wrote:

> 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.

@RadekCap The PR title needs to be `Backport cd61f97c2de94d19c0101c51bde143001078c89f` so that the bots recognize this as a backport. The commit message doesn't matter.

@robilad @RadekCap works for Red Hat and is covered by the Red Hat OCA.

@RadekCap Please enable GHA testing for your fork. See:
https://github.com/openjdk/jdk11u-dev/pull/2961/checks?check_run_id=32713036064

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2961#issuecomment-2464797425
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2961#issuecomment-2464804237
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2961#issuecomment-2464903588


More information about the jdk-updates-dev mailing list