8073220: A typo in the documentation for class ProcessBuilder
Summary: Correct reference to be OutputStream
Reviewed-by: martin, alanb
--- 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