RFR [8024521] (process) Async close issues with Process InputStream

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 28 09:28:46 UTC 2013


On 25/10/2013 16:59, Martin Buchholz wrote:
> After rebasing, I propose this change which is shorter and is more 
> obviously correct.
>
I agree, this is simpler (more obvious) so it is a good clean-up. One 
additional thing may be to add a comment to explain why processExited is 
synchronized (or alternatively move the synchronization to 
drainInputStream where it is required to ensure that other threads don't 
read anything between available and read).

-Alan



More information about the core-libs-dev mailing list