8073220: A typo in the documentation for class ProcessBuilder
authorrriggs
Mon, 23 Mar 2015 09:53:08 -0400
changeset 29601 d6e9fbd8497a
parent 29600 3c042ba9fd42
child 29602 47f15b73f5e3
8073220: A typo in the documentation for class ProcessBuilder Summary: Correct reference to be OutputStream Reviewed-by: martin, alanb
jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java
--- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java	Mon Mar 23 09:52:42 2015 -0400
+++ b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java	Mon Mar 23 09:53:08 2015 -0400
@@ -82,7 +82,7 @@
  * <li><a name="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#getInputStream()} and
+ * via the input streams returned by {@link Process#getOutputStream()} and
  * {@link Process#getErrorStream()}.  However, standard output and
  * standard error may be redirected to other destinations using
  * {@link #redirectOutput(Redirect) redirectOutput} and