On Fri, 27 Jun 2025 19:06:22 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Improve the documentation of Process use of system resources.
>> 
>> Describe the implementation closing streams when no longer referenced.
>> Clarify the interactions between inputStream and inputReader and errorStream 
>> and errorReader.
>> Add advice and example using try-with-resources to open and close streams.
>> Recommend closing streams when no longer in use.
>
> Roger Riggs has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - Revised Process and ProcessBuilder doc with reviewer suggestions.
>    And copyrights.
>  - Update example to use Reader.allAllLines() and simplify passing args to 
> the ProcessBuilder constructor.
>    Plus copyright update

Please also review the CSR.  
[JDK-8356311](https://bugs.openjdk.org/browse/JDK-8356311): Clarify 
java.lang.Process resource use

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25884#issuecomment-3025717882

Reply via email to