JDK-8202628 : javadoc generates bad links in TestModules.java
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-05-04
  • Updated: 2018-10-03
  • Resolved: 2018-09-27
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 b14Fixed
Related Reports
Relates :  
Relates :  
Description
See test:
test/langtools/jdk/javadoc/doclet/testModules/TestModules.java

When run with JavadocTester checkLinks, it reports two different issues in one test  case:


Starting subtest 1.1: Check links
out-aggregatorModuleSummary/moduleT/module-summary.html:163: name already declared: searchphrase
Missing files: (1)
out-aggregatorModuleSummary/overview-frame.html
    in out-aggregatorModuleSummary/module-overview-frame.html
    in out-aggregatorModuleSummary/moduleA/module-frame.html
    in out-aggregatorModuleSummary/moduleB/module-frame.html
    in out-aggregatorModuleSummary/moduleT/module-frame.html
  Checked 24 files.
  Found 369 references to 67 anchors in 27 files and 0 other URIs.
*      1 missing files
*      1 duplicate ids
       0 missing ids


Comments
https://bugs.openjdk.java.net/browse/JDK-8202462 fixes the duplicate Id
26-09-2018