RFR: 8248001: javadoc generates invalid HTML pages whose ftp:// links are broken [v4]

Masanori Yano myano at openjdk.java.net
Thu Sep 30 09:48:30 UTC 2021


On Thu, 30 Sep 2021 09:27:01 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

>> I updated the copyright date to 2021.
>> 
>> I think `checkHtml` is not necessary because `JavadocTester` checks links by `checkLinks()`. The following is log when the fix has not been applyed.
>> 
>> 
>>   Checked 11 files.
>>   Found 189 references to 54 anchors in 16 files and 6 other URIs.
>> *      1 missing files
>>        0 duplicate ids
>>        0 missing ids
>>   Schemes
>>        1 file
>>        1 ftp
>>        1 http
>>        2 https
>>        1 mailto
>>   Hosts
>>        1 www.example.com
>>        2 docs.oracle.com
>>        1 www.exsample.com
>> FAILED: 1 errors found when checking links
>>         at javadoc.tester.JavadocTester.checkLinks(JavadocTester.java:565)
>>         at javadoc.tester.JavadocTester.javadoc(JavadocTester.java:384)
>>         at TestHrefInDocComment.test(TestHrefInDocComment.java:46)
>
> @masyano thanks for the fix, and your patience in revising it. I can sponsor the PR for you.

@hns Thank you for approving and sponsoring.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5198


More information about the javadoc-dev mailing list