Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336479

Provide Process.waitFor(Duration)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • core-libs
    • b08

      While there's Process.waitFor(long, TimeUnit), a Duration-accepting overload could be even better. In JDK 21, Thread.sleep and Thread.join got Duration-accepting overloads. It only makes sense if Process.waitFor got such an overload too.

            naoto Naoto Sato
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: