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

Broken link in java.util.Locale

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 12
    • Component/s: core-libs

      Description

      A link checker detected this:

      $ grep -r 'Locale.html#getCountry' open/src
      open/src/java.base/share/classes/java/util/Locale.java: * country subtag in upper case. (See <a href="java/util/Locale.html#getCountry()">getCountry()</a>)

      Although the href works correctly in context, it does not work when the link appears in the serialized-form page. The entire <a href=...>...</a> can be replaced by `{@link Locale#getCountry() getCountry()}`

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: