JDK-8181622 : new {@index} tag generates multiple index entries
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-06-05
  • Updated: 2018-04-30
  • Resolved: 2017-07-15
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 10
10 b16Fixed
Related Reports
Relates :  
Relates :  
Description
See screenshot.

This occurred when adding an {@index javac} to the first sentence of the jdk.compiler module-info.java doc comment.

I'm also seeing repeated occurrences for other new uses of {@index}.  Some give 2 occurrences, some give 3.

Here is the confirmation that there is only one instance in the code:

$ grep -r "index javac" langtools/src 
langtools/src/jdk.compiler/share/classes/module-info.java: *  and its command line equivalent, <em>{@index javac}</em>,