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

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

  removed a blank line

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

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

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

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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