Skip to content

Commit 25f9f19

Browse files
committedJun 29, 2021
8249646: Runtime.exec(String, String[], File) documentation contains literal {@link ...}
Reviewed-by: sundar, iris
1 parent 0d83dc2 commit 25f9f19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/java.base/share/classes/java/lang/Runtime.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void exit(int status) {
200200
*
201201
* @throws SecurityException
202202
* If a security manager is present and it denies
203-
* {@link RuntimePermission}("shutdownHooks")
203+
* {@link RuntimePermission}{@code ("shutdownHooks")}
204204
*
205205
* @see #removeShutdownHook
206206
* @see #halt(int)
@@ -230,7 +230,7 @@ public void addShutdownHook(Thread hook) {
230230
*
231231
* @throws SecurityException
232232
* If a security manager is present and it denies
233-
* {@link RuntimePermission}("shutdownHooks")
233+
* {@link RuntimePermission}{@code ("shutdownHooks")}
234234
*
235235
* @see #addShutdownHook
236236
* @see #exit(int)
@@ -369,7 +369,7 @@ public Process exec(String command, String[] envp) throws IOException {
369369
*
370370
* <p>More precisely, the {@code command} string is broken
371371
* into tokens using a {@link StringTokenizer} created by the call
372-
* {@code new {@link StringTokenizer}(command)} with no
372+
* {@code new StringTokenizer(command)} with no
373373
* further modification of the character categories. The tokens
374374
* produced by the tokenizer are then placed in the new string
375375
* array {@code cmdarray}, in the same order.

0 commit comments

Comments
 (0)
Please sign in to comment.