On Thu, 20 May 2021 19:57:22 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> Methods are added to java.lang.Process to read and write characters and lines 
> from and to a spawned Process.
> The Charset used to encode and decode characters to bytes can be specified or 
> use the
> operating system native encoding as is available from the "native.encoding" 
> system property.

I've added the same comment on the bug itself.
I don't think that using PrintWriter is a good idea here given that a 
PrintWriter shallow the IOException

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

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

Reply via email to