RFR: 8267529: StringJoiner can create a String that breaks String::equals [v2]

Claes Redestad redestad at openjdk.java.net
Thu May 27 23:13:10 UTC 2021


On Thu, 27 May 2021 20:25:35 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> This patch fixes a regression caused by https://bugs.openjdk.java.net/browse/JDK-8265237 where the result of String.join always get a UTF-16 coder if the delimiter is UTF-16, even when no delimiter is emitted.
>
> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add join of zero strings, clarify comment

Thanks for reviewing, Naoto

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

PR: https://git.openjdk.java.net/jdk/pull/4228


More information about the core-libs-dev mailing list