changeset 54081:da14083871bb

8220237: ProcessBuilder API documentation typo Reviewed-by: dfuchs
author rriggs
date Tue, 12 Mar 2019 12:48:03 -0400
parents 75268d993deb
children 6a15e411595e
files src/java.base/share/classes/java/lang/ProcessBuilder.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/ProcessBuilder.java	Tue Mar 12 11:53:06 2019 -0400
+++ b/src/java.base/share/classes/java/lang/ProcessBuilder.java	Tue Mar 12 12:48:03 2019 -0400
@@ -89,7 +89,7 @@
  * <li><a id="redirect-output">a destination for <i>standard output</i>
  * and <i>standard error</i></a>.  By default, the subprocess writes standard
  * output and standard error to pipes.  Java code can access these pipes
- * via the input streams returned by {@link Process#getOutputStream()} and
+ * via the input streams returned by {@link Process#getInputStream()} and
  * {@link Process#getErrorStream()}.  However, standard output and
  * standard error may be redirected to other destinations using
  * {@link #redirectOutput(Redirect) redirectOutput} and