On Tue, 10 May 2022 20:22:39 GMT, Naoto Sato <na...@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.

This pull request has now been integrated.

Changeset: cc7560e9
Author:    Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/cc7560e995eac56709d9e55a1561135fad246cb2
Stats:     54 lines in 2 files changed: 52 ins; 2 del; 0 mod

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

Reviewed-by: jpai, bpb, rriggs

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

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

Reply via email to