8071480: (process spec) ProcessBuilder.start spec linked to the wrong checkRead and checkWrite methods
authorrriggs
Mon, 23 Mar 2015 09:52:42 -0400
changeset 29600 3c042ba9fd42
parent 29598 d437190d9f9a
child 29601 d6e9fbd8497a
8071480: (process spec) ProcessBuilder.start spec linked to the wrong checkRead and checkWrite methods Summary: Disambiguate with links to checkRead(String) and checkWrite(String) Reviewed-by: alanb, martin
jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java
--- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java	Mon Mar 23 02:29:47 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java	Mon Mar 23 09:52:42 2015 -0400
@@ -988,14 +988,14 @@
      *         <li>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
      *
      *         <li>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
      *
      *         </ul>