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

Naoto Sato naoto at openjdk.org
Thu Jul 18 20:49:10 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:

  Reflects review comments

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

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

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

  Stats: 34 lines in 1 file changed: 9 ins; 19 del; 6 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