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

Severin Gehwolf sgehwolf at openjdk.org
Tue Nov 19 13:29:53 UTC 2024


On Tue, 19 Nov 2024 12:26:05 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.
>
> Radek Čáp has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed indentation.

Apparently this is caused by a backport of [JDK-8242115](https://bugs.openjdk.org/browse/JDK-8242115) which is not in 11u (unlike 17), so I wonder if we need it.

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

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


More information about the jdk-updates-dev mailing list