There are descriptions in `Process.waitFor(long, TimeUnit)` (and upcoming `waitFor(Duration)`) reading:
```
* <p>The default implementation of this method polls the {@code exitValue}
* to check if the process has terminated. Concrete implementations of this
* class are strongly encouraged to override this method with a more
* efficient implementation.
```
This paragraph needs to be prepended by `@implSpec`
```
* <p>The default implementation of this method polls the {@code exitValue}
* to check if the process has terminated. Concrete implementations of this
* class are strongly encouraged to override this method with a more
* efficient implementation.
```
This paragraph needs to be prepended by `@implSpec`
- csr for
-
JDK-8336936 Add @implSpec for the default implementations in Process.waitFor()
-
- Closed
-
- relates to
-
JDK-8336479 Provide Process.waitFor(Duration)
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/4ea4d7c6
-
Review(master) openjdk/jdk/20285