RFR: 8263763: Synthetic constructor parameters of enum are not considered for annotation indices [v3]

Joel Borggrén-Franck jfranck at openjdk.java.net
Mon Apr 12 11:53:48 UTC 2021


On Sat, 10 Apr 2021 20:22:56 GMT, Rafael Winterhalter <winterhalter at openjdk.org> wrote:

>> 8263763: The constructor of an enumeration prefixes with two synthetic arguments for constant name and ordinal index. For this reason, the constructor annotations need to be shifted two indices to the right, such that the annotation indices match with the parameter indices.
>
> Rafael Winterhalter has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   8263763: The constructor of an enumeration prefixes with two synthetic arguments for constant name and ordinal index. For this reason, the constructor annotations need to be shifted two indices to the right, such that the annotation indices match with the parameter indices.

Marked as reviewed by jfranck (Reviewer).

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

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


More information about the core-libs-dev mailing list