RFR: 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Jaikiran Pai
jpai at openjdk.java.net
Wed May 11 11:18:37 UTC 2022
On Tue, 10 May 2022 20:22:39 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> `String.decodeWithDecoder()` method requires the `CharsetDecoder` parameter replaces on malformed/unmappable characters with replacements. However, there was a code path that lacked to set the `CodingErrorAction.REPLACE` on the decoder. Unrelated, one typo in a test was also fixed.
Marked as reviewed by jpai (Committer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8640
More information about the core-libs-dev
mailing list