-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b32
-
generic
-
generic
Martin Buchholz brought up a very good point. Suppose a method documents that
it throws A and B, where B is a subclass of A. If an overriden method only has
A in the throws clause, the doclet should inherit @throws documentation for A
and B. Although B is not explicitly in the throws clause, it is a subclass of
A, so it is still checked.
it throws A and B, where B is a subclass of A. If an overriden method only has
A in the throws clause, the doclet should inherit @throws documentation for A
and B. Although B is not explicitly in the throws clause, it is a subclass of
A, so it is still checked.
- relates to
-
JDK-8287796 Stop auto-inheriting documentation for subclasses of exceptions whose documentation is inherited
- Resolved
-
JDK-8005622 Inherited Javadoc missing @throws
- Resolved