On Tue, 1 Jul 2025 22:30:57 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 one additional 
> commit since the last revision:
> 
>   javadoc cleanup

src/java.base/share/classes/java/lang/Process.java line 129:

> 127:  * }
> 128:  * }
> 129:  * <p>Stream resources (file descriptor or handled) are always paired; 
> one in the invoking process

Hello Roger, this looks like a typo. I think it was meant to be "or handle"?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25884#discussion_r2179987213

Reply via email to