8249646: Runtime.exec(String, String[], File) documentation contains literal {@link ...}

Reviewed-by: sundar, iris
This commit is contained in:
Jonathan Gibbons 2021-06-29 14:31:01 +00:00
parent 0d83dc2411
commit 25f9f19af9

View File

@ -200,7 +200,7 @@ public class Runtime {
*
* @throws SecurityException
* If a security manager is present and it denies
* {@link RuntimePermission}("shutdownHooks")
* {@link RuntimePermission}{@code ("shutdownHooks")}
*
* @see #removeShutdownHook
* @see #halt(int)
@ -230,7 +230,7 @@ public class Runtime {
*
* @throws SecurityException
* If a security manager is present and it denies
* {@link RuntimePermission}("shutdownHooks")
* {@link RuntimePermission}{@code ("shutdownHooks")}
*
* @see #addShutdownHook
* @see #exit(int)
@ -369,7 +369,7 @@ public class Runtime {
*
* <p>More precisely, the {@code command} string is broken
* into tokens using a {@link StringTokenizer} created by the call
* {@code new {@link StringTokenizer}(command)} with no
* {@code new StringTokenizer(command)} with no
* further modification of the character categories. The tokens
* produced by the tokenizer are then placed in the new string
* array {@code cmdarray}, in the same order.