diff --git a/src/java.base/share/classes/java/lang/Process.java b/src/java.base/share/classes/java/lang/Process.java index a01a1f93fd22a..3c4a40df1aafe 100644 --- a/src/java.base/share/classes/java/lang/Process.java +++ b/src/java.base/share/classes/java/lang/Process.java @@ -442,7 +442,8 @@ public final BufferedWriter outputWriter(Charset charset) { * terminated and the timeout value is less than, or equal to, zero, then * this method returns immediately with the value {@code false}. * - *
The default implementation of this method polls the {@code exitValue} + * @implSpec + * 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. @@ -486,7 +487,8 @@ public boolean waitFor(long timeout, TimeUnit unit) * terminated and the duration is not positive, then * this method returns immediately with the value {@code false}. * - *
The default implementation of this method polls the {@code exitValue} + * @implSpec + * 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.