RFR: JDK-8266670: Better modeling of access flags in core reflection [v4]

ExE Boss duke at openjdk.java.net
Tue Feb 15 09:26:12 UTC 2022


On Tue, 15 Feb 2022 06:56:51 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Respond to more review feedback.
>
> 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.

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

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


More information about the core-libs-dev mailing list