On Mon, 24 May 2021 00:33:06 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. > > Roger Riggs has updated the pull request incrementally with one additional > commit since the last revision: > > Added throws for NPE, delegated zero-arg methods that use native.encoding to > the 1-arg method with a charset, added tests for Redirect cases where the > streams are null-input or null-output streams. src/java.base/share/classes/java/lang/Process.java line 292: > 290: > 291: /** > 292: * Returns a {@code BufferedWriter} connected to the normal input of > the process the native encoding. `the native encoding` here seems leftover. ------------- PR: https://git.openjdk.java.net/jdk/pull/4134