-
Bug
-
Resolution: Fixed
-
P4
-
11, 12, 13
ADDITIONAL SYSTEM INFORMATION :
Documentation error - affects all configurations.
A DESCRIPTION OF THE PROBLEM :
Bullet point #5 is in error. It currently reads:
-----------------
a destination for standard output and standard error. By default, the subprocess writes standard output and standard error to pipes. Java code can access these pipes via the input streams returned by Process.getOutputStream() and Process.getErrorStream(). However, standard output and standard error may be redirected to other destinations using redirectOutput and redirectError. In this case, Process.getInputStream() and/or Process.getErrorStream() will return a null input stream, for which:
-----------------
The error is a reference to ` Process.getOutputStream()` instead of ` Process.getInputStream()` (the last sentence of the bullet is correct).
REGRESSION : Last worked in version 11.0.1
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Correct the javadoc comments in the source code
---------- BEGIN SOURCE ----------
Javadoc can be seen at: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ProcessBuilder.html
---------- END SOURCE ----------
FREQUENCY : always
Documentation error - affects all configurations.
A DESCRIPTION OF THE PROBLEM :
Bullet point #5 is in error. It currently reads:
-----------------
a destination for standard output and standard error. By default, the subprocess writes standard output and standard error to pipes. Java code can access these pipes via the input streams returned by Process.getOutputStream() and Process.getErrorStream(). However, standard output and standard error may be redirected to other destinations using redirectOutput and redirectError. In this case, Process.getInputStream() and/or Process.getErrorStream() will return a null input stream, for which:
-----------------
The error is a reference to ` Process.getOutputStream()` instead of ` Process.getInputStream()` (the last sentence of the bullet is correct).
REGRESSION : Last worked in version 11.0.1
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Correct the javadoc comments in the source code
---------- BEGIN SOURCE ----------
Javadoc can be seen at: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ProcessBuilder.html
---------- END SOURCE ----------
FREQUENCY : always
- relates to
-
JDK-8073220 A typo in the documentation for class ProcessBuilder
- Closed