JDK-8219147 : Javadoc should expose covariant return type overrides
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 11,12,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-02-15
  • Updated: 2019-06-14
  • Resolved: 2019-05-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13 JDK 14
13 b23Fixed 14Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Not showing which methods have covariant return type overrides hides some information from the user. For example, java.nio.MappedByteBuffer has some covariant return type overrides such as

    /**
     * {@inheritDoc}
     */
    @Override
    public final MappedByteBuffer reset() {
        super.reset();
        return this;
    }

but reset(), et. al., show up under "Methods declared in class java.nio.Buffer". The hierarchy is MappedByteBuffer extends ByteBuffer extends Buffer extends Object.
Comments
Looks good - thanks!
28-05-2019