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

Naoto Sato naoto at openjdk.org
Thu Jul 18 18:16:48 UTC 2024


> 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.

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Addressing review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20220/files
  - new: https://git.openjdk.org/jdk/pull/20220/files/ff3d259c..4f8f1181

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20220&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20220&range=01-02

  Stats: 21 lines in 2 files changed: 8 ins; 0 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/20220.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20220/head:pull/20220

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


More information about the core-libs-dev mailing list