RFR: 8292892: Javadoc index descriptions are not deterministic
Pavel Rappo
prappo at openjdk.org
Mon Sep 5 10:47:32 UTC 2022
On Mon, 29 Aug 2022 21:03:34 GMT, John Neffenger <jgneff at openjdk.org> wrote:
> Please review these changes to the Javadoc index builders. This pull request adds 423 missing entries to the index of the JDK API Specification, corrects their package names in the member search index, and makes their descriptions deterministic. I'll follow up with more information in a separate comment.
test/langtools/jdk/javadoc/doclet/testIndexInherited/pkg1/ClassB.java line 34:
> 32: */
> 33: public ClassB() {
> 34: }
One nit: here and elsewhere in this PR an explicit no-arg (parameterless, nullary, etc.) constructor is called _default_, which, technically speaking, it isn't. If a constructor is _default_, then it is implicit. Once you make it explicit, it is no longer _default_. A _default_ constructor is provided by the compiler, when there are no other constructors defined, see: JLS 8.8.9. Default Constructor.
-------------
PR: https://git.openjdk.org/jdk/pull/10070
More information about the javadoc-dev
mailing list