RFR: 8349369: test/docs/jdk/javadoc/doccheck/checks/jdkCheckLinks.java did not report on missing man page files [v2]
Nizar Benalla
nbenalla at openjdk.org
Thu Jun 5 10:31:57 UTC 2025
On Thu, 5 Jun 2025 09:37:14 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
>> Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>>
>> - improve based on feedback
>> - Merge branch 'master' into update-link-checker
>> - Merge branch 'master' into update-link-checker
>> - Merge branch 'master' into update-link-checker
>> - update link checker to verify that files exist
>
> test/docs/jdk/javadoc/doccheck/doccheckutils/checkers/LinkChecker.java line 223:
>
>> 221: @Override
>> 222: public boolean isOK() {
>> 223: return log.noErrors() && (missingFiles == 0);
>
> In method `reportMissingFile` where `missingFiles` is increased an error is also logged, so I'm wondering is the `missingFiles` check needed here?
I'd like to keep this extra check for safety for now.
I plan on updating these tests again for JDK 26 (updating the external link checker) so I could do more cleanup then.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23441#discussion_r2128515936
More information about the javadoc-dev
mailing list