RFR: 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906

Roger Riggs rriggs at openjdk.org
Mon Feb 12 21:33:12 UTC 2024


Correct the result string coder of a string encoded using a CharsetDecoder with multi-byte encoded input.
Added tests for UTF16 strings and a regression test.

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

Commit messages:
 - 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906

Changes: https://git.openjdk.org/jdk/pull/17817/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17817&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325590
  Stats: 24 lines in 2 files changed: 18 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/17817.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17817/head:pull/17817

PR: https://git.openjdk.org/jdk/pull/17817


More information about the nio-dev mailing list