RFR: JDK-8157682: @inheritDoc doesn't work with @exception [v2]

Jonathan Gibbons jjg at openjdk.java.net
Thu Mar 4 16:19:20 UTC 2021


> 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.

Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:

  address review comment

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2818/files
  - new: https://git.openjdk.java.net/jdk/pull/2818/files/05bb7da8..4647f449

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2818&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2818&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2818.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2818/head:pull/2818

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


More information about the javadoc-dev mailing list