RFR: 8336479: Provide Process.waitFor(Duration) [v2]

Chen Liang liach at openjdk.org
Wed Jul 17 21:44:32 UTC 2024


On Wed, 17 Jul 2024 18:28:10 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   ProcessTools overriding one-arg waitFor()
>
> src/java.base/share/classes/java/lang/Process.java line 481:
> 
>> 479:      * this method returns immediately with the value {@code false}.
>> 480:      *
>> 481:      * <p>The default implementation of this method polls the {@code exitValue}
> 
> There was discussion in the CSR on moving this to an `@implSpec`, are you going to do that change?

It will be addressed by https://bugs.openjdk.org/browse/JDK-8336679

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20220#discussion_r1681799258


More information about the core-libs-dev mailing list