On Tue, 10 Feb 2026 12:20:36 GMT, Eirik Bjørsnøs <[email protected]> wrote:

> Your demo seems to optimize only for `CodingErrorAction.REPLACE`, but that's 
> probably more of an implementation detail than a limiting factor of API 
> design, right?

String.getBytes(Charset) uses REPLACE action, it doesn't ignore (which would 
change the length) or throw.

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

PR Comment: https://git.openjdk.org/jdk/pull/28454#issuecomment-3877788819

Reply via email to