From 7cb7ae5914c92a86a44c64882f1cde82974cc309 Mon Sep 17 00:00:00 2001 From: Roger Riggs Date: Mon, 23 Mar 2015 09:52:42 -0400 Subject: [PATCH] 8071480: (process spec) ProcessBuilder.start spec linked to the wrong checkRead and checkWrite methods Disambiguate with links to checkRead(String) and checkWrite(String) Reviewed-by: alanb, martin --- jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 * *