RFR 8216205: Java API documentation formatting error in System.getEnv

Lance Andersen lance.andersen at oracle.com
Mon Jan 7 18:48:48 UTC 2019


+1
> On Jan 7, 2019, at 1:45 PM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> 
> 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

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list