Skip to content

Conversation

@jcflack
Copy link
Contributor

@jcflack jcflack commented May 26, 2025

Because the Maven POMs are not requesting maximal javadoc coverage (--show-module-contents all --show-packages all --show-types private --show-members private) in normal use, there are a lot of javadoc-formatted comments in the source code that are not routinely getting checked for errors, and if anyone does run a more-complete javadoc report for a special purpose, errors in those non-checked comments cause the run to fail.

It is not a goal of this PR to change the coverage options passed to javadoc in the POMs for normal use, or to proofread or improve, or add where incomplete, any of those normally-masked comments, or to do anything about the numerous javadoc warnings. The goal is simply to address the detected errors that prevent a maximal javadoc run completing successfully.

Surprisingly, perhaps, there were not very many of those. It should now be possible to do maximal javadoc runs on occasion as a development practice, to ensure new errors do not creep in.

This work necessitated splitting DDRProcessor.java, which, for historical reasons, had grown to a very large multiple-class single compilation unit. That was a problem for javadoc, which is less able to find extra classes inside a compilation unit than javac is. That was the biggest part of the job.

jcflack added 4 commits May 25, 2025 23:14
It has grown to such size that breaking it up is long overdue anyway,
but the immediate impetus was to do a trial javadoc run checking
everything (--show-module-contents all --show-packages-all
--show-types private --show-members private). I have no intention of
changing the doc build options to build all that as a matter of course,
but it ought to be possible, so a run with those settings is useful to
identify and fix any javadoc-reported errors that cause the generation
to fail, as opposed to mere warnings.

Javadoc was immediately displeased by the multi-class compilation unit
here.
... with --show-module-contents all --show-packages all
--show-types private --show-members private.

There are still lots of warnings reported and I have made no effort
to look at the docs generated with those settings. But it ought to be
possible to do so, with the first step being to eliminate the errors
that cause generation to fail.
@jcflack jcflack merged commit fc93da7 into REL1_6_STABLE May 27, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants