On Tue, 15 Feb 2022 09:04:02 GMT, ExE Boss <[email protected]> wrote:
>> src/java.base/share/classes/java/lang/reflect/AccessFlag.java line 55:
>>
>>> 53: */
>>> 54: @SuppressWarnings("doclint:reference") // cross-module link
>>> 55: public enum AccessFlag {
>>
>> I think there is missing SUPER ACC_SUPER 0x0020
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7445