On Mon, 24 Oct 2022 20:14:46 GMT, Jonathan Gibbons <[email protected]> wrote:

>> Pavel Rappo has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   fix: test failed due to filesystem handling issues
>>   
>>   Filed 8295543 to track that filesystem issue and fixed the test to make
>>   sure the package cannot be confused with the type parameter, whose
>>   name is not pertinent to the test anyway.
>
> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java
>  line 835:
> 
>> 833:         linkInfo.excludeTypeBounds = true;
>> 834:         var link = htmlWriter.getLink(linkInfo);
>> 835:         var concat = new ContentBuilder(HtmlTree.CODE(link));
> 
> hmmm, do you actually need the `CODE` here?

Mainline has it too. It's so that the exception class or exception-type type 
variable is output in `<code>...</code>`. For example,


<a href="IndexOutOfBoundsException.html" title="class in 
java.lang">IndexOutOfBoundsException</a>

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

PR: https://git.openjdk.org/jdk/pull/10746

Reply via email to