RFR: 8220217: Javadoc missing link to member method

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Oct 2 18:17:56 UTC 2019


OK.

I'm disappointed to see another method being added to Utils, which is a 
bit of a grab-bag of assorted contents, but that's a different cleanup 
issue for another time.

-- Jon

On 10/2/19 7:30 AM, Hannes Wallnöfer wrote:
> 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