JDK-8202462 : {@index} may cause duplicate labels
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-04-30
  • Updated: 2018-10-02
  • Resolved: 2018-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12 b13Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Running a link checker over the output from the sample API test reveals that if {@index} is used in the first sentence, it will expand into an HTML anchor in both the detail table and subsequent summary list.

It should only expand in one place, or else we should disambiguate these two sites.   We should not generate duplicate ids within the same file.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/javadoc-dev/2018-August/000612.html
20-09-2018