Integrated: 8267529: StringJoiner can create a String that breaks String::equals

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


On Thu, 27 May 2021 17:38:42 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.

This pull request has now been integrated.

Changeset: 95b1fa7a
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/95b1fa7a88ec3c017734c9d0a6b6b6117f74a610
Stats:     20 lines in 2 files changed: 16 ins; 0 del; 4 mod

8267529: StringJoiner can create a String that breaks String::equals

Reviewed-by: naoto

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

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


More information about the core-libs-dev mailing list