RFR: 8057558 VirtualMachineImpl.execute on windows should close PipedInputStream before throwing exceptions

Alan Bateman Alan.Bateman at oracle.com
Mon Sep 8 12:50:49 UTC 2014


On 08/09/2014 13:25, Staffan Larsen wrote:
> Two fixes:
> - The PipedInputStream used by the attach code on windows is not closed in case of errors
> - The InputStreams returned by VirtualMachine.execute are not closed by all callers
>
> webrev: http://cr.openjdk.java.net/~sla/8057558/webrev.00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8057558
>
This looks to me. I guess I'd probably use "pis" (or even "in") for the 
piped input stream but it's immaterial here.

-Alan


More information about the serviceability-dev mailing list