RFR: JDK-8264274: Block tags in overview.html are ignored [v2]

Jonathan Gibbons jjg at openjdk.java.net
Mon Aug 16 18:18:30 UTC 2021


On Fri, 13 Aug 2021 08:04:24 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

>> test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java line 80:
>> 
>>> 78:                     <dd>
>>> 79:                     <ul class="see-list">
>>> 80:                     <li><a href="%1$sp1/C.html" title="class in p1"><code>C</code></a></li>
>> 
>> What's with the funky URL?
>
> That's just a format string specifier "%1$s", meaning the first format argument (see invocation of `formatted` method below to adapt the string to a module or non-module context). 
> 
> I realize now that I could have omitted the argument index part of the format specifier, will update the PR if that is true.

Doh, silly me; of course.

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

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


More information about the javadoc-dev mailing list