RFR: JDK-8266670: Better modeling of access flags in core reflection [v4]
Rémi Forax
forax at openjdk.java.net
Tue May 31 17:26:21 UTC 2022
On Tue, 15 Feb 2022 21:05:08 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Note that the presence or absence of `ACC_SUPER` has no effect since **Java 8**, which always treats it as set regardless of the actual contents of the binary class file.
>
> For completeness, I think including SUPER is reasonable, even though has been a no-op for some time. (Some time in the future, there could be a class file version aware additions to this enum class.) Well spotted omission.
`ACC_SUPER`may be reconed as `ACC_IDENTITY`by Valhalla, so i'm not sure it's a good idea to add ACC_SUPER.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7445
More information about the core-libs-dev
mailing list