[jdk11u-dev] RFR: 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result [v2]
Antonio Vieiro
duke at openjdk.org
Mon Nov 18 19:12:50 UTC 2024
On Mon, 18 Nov 2024 17:22:22 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:
>
> Backport 93b2aa48598ef26f645e673ad111885d2acd18ef
> > @vieiro just pointed me that I need to backport this first - https://bugs.openjdk.org/browse/JDK-8343687
>
> @RadekCap I don't think that will work. What should work is adding [JDK-8343687](https://bugs.openjdk.org/browse/JDK-8343687) to this backport. I.e. cherry-pick the patch and use `/issue add JDK-8343687` on this PR.
> @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.
There's a slight difference between what @vieiro says and what people understand. But hey, I'm trying to improve :-)
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2961#issuecomment-2483890277
More information about the jdk-updates-dev
mailing list