RFR: 8220217: Javadoc missing link to member method

Hannes Wallnöfer hannes.wallnoefer at oracle.com
Wed Oct 2 14:30:30 UTC 2019


Please review:

JBS: https://bugs.openjdk.java.net/browse/JDK-8220217
Webrev: http://cr.openjdk.java.net/~hannesw/8220217/webrev.00/

The problem was that Utils.isLinkable(TypeElement, Element) was checking for subtype relationship to detect members inherited from undocumented supertypes, which fails when a subclass uses a parameterized version of a generic superclass as that breaks the subtype relationship. My solution is to move the isUndocumentedEnclosure(TypeElement) method from VisibleMemberTable to the Utils class and use it instead of the subclass check in Utils.isLinkable.

Thanks,
Hannes


More information about the javadoc-dev mailing list