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

Provide Process.waitFor(Duration)

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: