RFR: 8307990: jspawnhelper must close its writing side of a pipe before reading from it [v3]

Volker Simonis simonis at openjdk.org
Mon May 22 08:03:57 UTC 2023


On Wed, 17 May 2023 17:07:13 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   REALLY adding the test :)
>
> test/jdk/java/lang/ProcessBuilder/JspawnhelperProtocol.java line 106:
> 
>> 104:             }
>> 105:             line = br.readLine();
>> 106:         }
> 
> Try-with-resources works well in cases like this.  (Moving foundCrashInfo out of the t-w-r).

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13956#discussion_r1200111600


More information about the core-libs-dev mailing list