Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
naotoj committed Jul 22, 2024
1 parent ed64994 commit bd91aba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/java.base/share/classes/java/lang/Process.java
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
*
* <p>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.
Expand Down Expand Up @@ -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}.
*
* <p>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.
Expand Down

0 comments on commit bd91aba

Please sign in to comment.