RFR: JDK-8253700: spurious "extends Throwable" at end of Optional.orElseThrow method declaration

Pavel Rappo prappo at openjdk.java.net
Wed Sep 30 08:11:14 UTC 2020


On Tue, 29 Sep 2020 23:47:37 GMT, Jonathan Gibbons <jjg at 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.

This look good. The crux of the fix is really small.

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

Marked as reviewed by prappo (Reviewer).

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


More information about the javadoc-dev mailing list