Integrated: JDK-8157682: @inheritDoc doesn't work with @exception

Jonathan Gibbons jjg at openjdk.java.net
Fri Mar 5 16:05:46 UTC 2021


On Wed, 3 Mar 2021 22:22:29 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a fix to improve the handling of the legacy `@exception` tag.
> 
> A patch for this was [previously submitted](https://mail.openjdk.java.net/pipermail/javadoc-dev/2019-September/001139.html). However, that patch introduced an explicit new `ExceptionTaglet` class, whereas the fix here just reuses the existing `ThrowsTaglet`, registering it under an additional name.
> 
> The test in the original patch is enhanced to check all 4 combinations of (throws, exception) in the base class and (throws, exception) in the subclass.

This pull request has now been integrated.

Changeset: 97557826
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/97557826
Stats:     140 lines in 2 files changed: 122 ins; 7 del; 11 mod

8157682: @inheritDoc doesn't work with @exception

Co-authored-by: Yano, Masanori <yano-masanori at jp.fujitsu.com>
Co-authored-by: Jonathan Gibbons <jjg at openjdk.org>
Reviewed-by: prappo

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

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


More information about the javadoc-dev mailing list