-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 24
-
Component/s: core-libs
-
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.