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

Severin Gehwolf sgehwolf at openjdk.org
Thu Nov 14 09:20:15 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.

What testing have you done for this in addition to GHA?

> This is a clean backport.

The bot doesn't seem to agree with this. Did you perhaps use the JDK 17u version of the patch rather than jdk head? If so, the sha in the PR title should be the JDK 17u version.

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

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


More information about the jdk-updates-dev mailing list