Provide Process.waitFor(Duration)

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: 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.

            Assignee:
            Naoto Sato
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: