[jdk11u-dev] RFR: 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Radek Čáp
duke at openjdk.org
Thu Nov 14 12:52:31 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.
My bad. I've cherrypicked it from 17u-dev instead of 17u.
Lesson learned, thank you.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2961#issuecomment-2476275211
More information about the jdk-updates-dev
mailing list