On Wed, 17 Mar 2021 19:30:54 GMT, Ioi Lam <ik...@openjdk.org> wrote:

>> The child does no (zero) writes to either stream.  It is invoked only to 
>> sleep until it is destroyed.
>> The purpose of the test is to verify the exception that is thrown when the 
>> other end(child) of the pipe is closed (because the process has been 
>> forcibly terminated).
>
> Hmm, maybe the child can create a file to indicate that bootstrap has 
> finished.

> The child does no (zero) writes to either stream. It is invoked only to sleep 
> until it is destroyed.
> The purpose of the test is to verify the exception that is thrown when the 
> other end(child) of the pipe is closed (because the process has been forcibly 
> terminated).

I meant as a consequence of an error. E.g. a crash or a native OOM could cause 
the child to write an error report to stderr.

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

PR: https://git.openjdk.java.net/jdk/pull/3049

Reply via email to