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

Radek Čáp duke at openjdk.org
Mon Nov 18 17:22:22 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.

@vieiro just pointed out that I need to update the code from this PR with this one - https://bugs.openjdk.org/browse/JDK-8343687 to make it compilable with "make run-tests ..." not just only passing with jtreg.

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

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


More information about the jdk-updates-dev mailing list