Skip to content

Commit

Permalink
Addressing a CSR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
naotoj committed Jul 23, 2024
1 parent bd91aba commit 49b894b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/java.base/share/classes/java/lang/Process.java
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,10 @@ public final BufferedWriter outputWriter(Charset charset) {
*
* @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.
* to check if the process has terminated.
* @apiNote
* Concrete implementations of this class are strongly encouraged to
* override this method with a more efficient implementation.
*
* @param timeout the maximum time to wait
* @param unit the time unit of the {@code timeout} argument
Expand Down Expand Up @@ -489,9 +490,10 @@ public boolean waitFor(long timeout, TimeUnit unit)
*
* @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.
* to check if the process has terminated.
* @apiNote
* Concrete implementations of this class are strongly encouraged to
* override this method with a more efficient implementation.
*
* @param duration the maximum duration to wait; if not positive,
* this method returns immediately.
Expand Down

0 comments on commit 49b894b

Please sign in to comment.