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
--- 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>