diff --git a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java
index 940084cfbc6..0cb6f741326 100644
--- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java
+++ b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java
@@ -988,14 +988,14 @@ public final class ProcessBuilder
*
the standard input to the subprocess was
* {@linkplain #redirectInput redirected from a file}
* and the security manager's
- * {@link SecurityManager#checkRead checkRead} method
+ * {@link SecurityManager#checkRead(String) checkRead} method
* denies read access to the file, or
*
* the standard output or standard error of the
* subprocess was
* {@linkplain #redirectOutput redirected to a file}
* and the security manager's
- * {@link SecurityManager#checkWrite checkWrite} method
+ * {@link SecurityManager#checkWrite(String) checkWrite} method
* denies write access to the file
*
*