https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/Process.html#getInputStream()
The API note for Process::getInputStream reads:
"Use getInputStream and inputReader with extreme care.The BufferedReader may have buffered input from the input stream."
Which makes sense. However, the same note exists for Process::getErrorStream, where I think the note should refer to getErrorStream and errorReader instead.
In addition, the link tags to inputReader point to the private variable and causes them not to render. They should point to the method.
The API note for Process::getInputStream reads:
"Use getInputStream and inputReader with extreme care.The BufferedReader may have buffered input from the input stream."
Which makes sense. However, the same note exists for Process::getErrorStream, where I think the note should refer to getErrorStream and errorReader instead.
In addition, the link tags to inputReader point to the private variable and causes them not to render. They should point to the method.