RFR: 8263763: Synthetic constructor parameters of enum are not considered for annotation indices [v2]
Rafael Winterhalter
winterhalter at openjdk.java.net
Fri Mar 19 15:20:00 UTC 2021
> 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.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3082/files
- new: https://git.openjdk.java.net/jdk/pull/3082/files/1170d79d..d50d5f4c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3082&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3082&range=00-01
Stats: 8 lines in 3 files changed: 3 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/3082.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3082/head:pull/3082
PR: https://git.openjdk.java.net/jdk/pull/3082
More information about the core-libs-dev
mailing list