Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216205

Java API documentation formatting error in System.getEnv()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b05
    • Introduced In Version:
      11
    • Resolved In Build:
      b03
    • Verification:
      Not verified

      Backports

        Description

        A DESCRIPTION OF THE PROBLEM :
        Javadoc not formatted correctly:
        "method is called with a {@link RuntimePermission}("getenv.*") permission"

        @link is displayed instead of being processed.

        REGRESSION : Last worked in version 10

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Open Javadoc for System.getEnv()
        Java 11
        https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/System.html#getenv()
        Java 13 EA
        https://download.java.net/java/early_access/jdk13/docs/api/java.base/java/lang/System.html#getenv()

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Text should be:
        "method is called with a RuntimePermission("getenv.*") permission"
        (with RuntimePermission linked)

        As was the case until until Java 10
        https://docs.oracle.com/javase/10/docs/api/java/lang/System.html#getenv()
        ACTUAL -
        Text is:
        "method is called with a {@link RuntimePermission}("getenv.*") permission"

        FREQUENCY : always


          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rriggs Roger Riggs
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: