RFR: 8342566: Improve javadoc of java.lang.annotation.ElementType

Joe Darcy darcy at openjdk.org
Mon Oct 21 17:41:19 UTC 2024


On Mon, 14 Oct 2024 20:31:51 GMT, Kevin Bourrillion <duke at openjdk.org> wrote:

> 8342566: Improve javadoc of java.lang.annotation.ElementType

src/java.base/share/classes/java/lang/annotation/ElementType.java line 118:

> 116:      * on the declaration of a record component, and is automatically
> 117:      * copied to the private field of the same name that is generated
> 118:      * during compilation.

If there is a JLS citation for this behavior, please include it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21506#discussion_r1809232916


More information about the core-libs-dev mailing list