Loading... (original) (raw)
Confusing javadoc comment to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools
- Type:
Bug
- Resolution: Fixed
- Priority:
P5
- Fix Version/s: 10
- Affects Version/s: 10
javadoc to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools incorrectly calls the parameter as "processHandler":
/**
* Pumps stdout and stderr from running the process into a String.
*
* @param processHandler ProcessHandler to run.
* @return Output from process.
* @throws IOException If an I/O error occurs.
*/
public static OutputBuffer getOutput(ProcessBuilder processBuilder)
this may confuse readers and needs to be fixed.