RFR: 8286287: Reading file as UTF-16 causes Error which "shouldn't happen" [v2]

Roger Riggs rriggs at openjdk.java.net
Wed May 11 16:27:02 UTC 2022


On Wed, 11 May 2022 15:52:59 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.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reverted the typo fix

Marked as reviewed by rriggs (Reviewer).

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

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


More information about the core-libs-dev mailing list