RFR: 8259216: javadoc omits method receiver for any nested type annotation

liach github.com+7806504+liach at openjdk.java.net
Tue Jan 12 06:02:58 UTC 2021


On Fri, 8 Jan 2021 19:23:44 GMT, liach <github.com+7806504+liach at openjdk.org> wrote:

>> Hi,
>> Please send an e-mail to Dalibor.topic at oracle.com so that I can mark your account as verified.
>
> Done.

A quick summary:
1. Receivers now are included if any part of their type hierarchy is annotated, such as on a type argument. Cannot test on nested classes due to [JDK-8259499](https://bugs.openjdk.java.net/browse/JDK-8259499). [a test case for 1](https://github.com/openjdk/jdk/pull/1997/files#diff-f0952a0ae5e2e84793298c953e1080ad55516d3096a3832c23ac4e8898d2230eR804-R808)
2. Now receiver's type annotations are concatenated to the receiver's type like type annotations on regular parameters, i.e. with a space than a no-break space. Tests have been updated to expect regular than no-break spaces.

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

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


More information about the javadoc-dev mailing list