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

doclint doesn't reset HTML anchors correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • tools
    • b102
    • Verified

    Description

      doclint does not reset known HTML anchors.

      As an example, please refer to:

      java/net/Inet4Address.java:39 --
        * <h4> <A NAME="format">Textual representation of IP addresses</a> </h4>

      and java/net/Inet6Address.java: 38 --
       * <h4> <A NAME="format">Textual representation of IP addresses</a> </h4>

      Though both of these files only have one anchor named "format", doclint will report an error for one of the two files (presumably whichever is processed second), stating "anchor already defined: format".

      The anchors should be reset so that anchor names only need to be unique within each file.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              juh Jason Uh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: