-
Bug
-
Resolution: Fixed
-
P3
-
11
-
b19
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205785 | 11.0.1 | Priya Lakshmi Muthuswamy | P3 | Resolved | Fixed | team |
See test test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java
When run with JavadocTester.checkLinks, some broken links are revealed, caused by references to the enum's constructors. But the constructors for an enum are not documented and there should be no reference to them in any generated file.
out-3/index-all.html:264: id not found: out-3/pkg/AnotherClass.ModalExclusionType.html#ModalExclusionType--
out-3/index-all.html:426: id not found: out-3/pkg2/TestEnum.html#TestEnum--
out-2/index-all.html:264: id not found: out-2/pkg/AnotherClass.ModalExclusionType.html#ModalExclusionType--
out-2/index-all.html:426: id not found: out-2/pkg2/TestEnum.html#TestEnum--
out-1/index-all.html:269: id not found: out-1/pkg/AnotherClass.ModalExclusionType.html#<init>()
out-1/index-all.html:431: id not found: out-1/pkg2/TestEnum.html#<init>()
When run with JavadocTester.checkLinks, some broken links are revealed, caused by references to the enum's constructors. But the constructors for an enum are not documented and there should be no reference to them in any generated file.
out-3/index-all.html:264: id not found: out-3/pkg/AnotherClass.ModalExclusionType.html#ModalExclusionType--
out-3/index-all.html:426: id not found: out-3/pkg2/TestEnum.html#TestEnum--
out-2/index-all.html:264: id not found: out-2/pkg/AnotherClass.ModalExclusionType.html#ModalExclusionType--
out-2/index-all.html:426: id not found: out-2/pkg2/TestEnum.html#TestEnum--
out-1/index-all.html:269: id not found: out-1/pkg/AnotherClass.ModalExclusionType.html#<init>()
out-1/index-all.html:431: id not found: out-1/pkg2/TestEnum.html#<init>()
- backported by
-
JDK-8205785 javadoc generates references to enum constructors, which are not documented
- Resolved
- relates to
-
JDK-8202614 Add ability to validate links in JavadocTester
- Resolved