Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336479 Provide Process.waitFor(Duration)
  3. JDK-8336852

Release Note: New Method Process.waitFor(Duration)

XMLWordPrintable

    • generic
    • generic

      A new, overloaded method, `java.lang.Process#waitFor(Duration)`, has been added. The existing `waitFor()` method with timeout needs both a primitive time out value and its unit. The new method uses `java.time.Duration` so that the user will not be confused with the unit.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: