On Wed, 17 Jul 2024 17:36:29 GMT, Naoto Sato <na...@openjdk.org> wrote:

> Proposing a new overload method for `Process#waitFor()` which takes a 
> `Duration` for the timeout value. This will reduce the possibility for making 
> mistakes with the `TimeUnit` in the other overload method. A corresponding 
> CSR has also been drafted.

This pull request has now been integrated.

Changeset: c1c97042
Author:    Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/c1c9704268e9e651cd82c8550913d8ac60aa494a
Stats:     115 lines in 3 files changed: 113 ins; 0 del; 2 mod

8336479: Provide Process.waitFor(Duration)

Reviewed-by: liach, jpai, rriggs

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

PR: https://git.openjdk.org/jdk/pull/20220

Reply via email to