Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
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.
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
- blocks
-
JDK-8020638 Clean up doclint problems in java.util package, part 3
- Resolved