On Thu, 18 Mar 2021 21:03:20 GMT, Rafael Winterhalter <winterhal...@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. This pull request has now been integrated. Changeset: 9dd96257 Author: Rafael Winterhalter <winterhal...@openjdk.org> Committer: Joe Darcy <da...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/9dd96257 Stats: 73 lines in 4 files changed: 64 ins; 0 del; 9 mod 8263763: Synthetic constructor parameters of enum are not considered for annotation indices Reviewed-by: darcy, jfranck ------------- PR: https://git.openjdk.java.net/jdk/pull/3082