RFR 8216205: Java API documentation formatting error in System.getEnv
Roger Riggs
Roger.Riggs at oracle.com
Mon Jan 7 18:45:48 UTC 2019
Please review a javadoc fix. Only @link is needed, @code is removed.
diff --git a/src/java.base/share/classes/java/lang/System.java
b/src/java.base/share/classes/java/lang/System.java
--- a/src/java.base/share/classes/java/lang/System.java
+++ b/src/java.base/share/classes/java/lang/System.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights
reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -1055,7 +1055,7 @@ public final class System {
* <p>If a security manager exists, its
* {@link SecurityManager#checkPermission checkPermission}
* method is called with a
- * {@code {@link RuntimePermission}("getenv.*")} permission.
+ * {@link RuntimePermission RuntimePermission("getenv.*")} permission.
* This may result in a {@link SecurityException} being thrown.
*
* <p>When passing information to a Java subprocess,
Thanks, Roger
More information about the core-libs-dev
mailing list