On Tue, 29 Sep 2020 23:47:37 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

> The link for the `throws` type was not filtering out the bounds. A new 
> `LinkInfoImpl.Kind` is added for `THROWS_TYPE`.
> 
> The loop to generate the list of exceptions is simplified.
> 
> A new test is provided. The generated API for `Optional.orElseThrow` has also 
> been verified as correct.

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java
 line 265:

> 263:             }
> 264:             Content link = writer.getLink(new 
> LinkInfoImpl(configuration, THROWS_TYPE, t));
> 265:             htmlTree.add(link);

This reminds of the 8238966: Use a better way of joining things together.

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

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

Reply via email to