[jdk21u-dev] RFR: 8311906: Improve robustness of String constructors with mutable array inputs [v2]

Goetz Lindenmaier goetz at openjdk.org
Fri Nov 7 15:15:55 UTC 2025


On Fri, 7 Nov 2025 13:59:00 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> Couldn't you just used Charset.forName("utf-32" / "utf-32be" / "utf-32le") in the ReadWriteString test instead of removing the test for these three encodings?

That's a good point, yes that works.  See new commit.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2437#issuecomment-3503114875


More information about the jdk-updates-dev mailing list