[lworld] RFR: 8281463: [lworld] VALUE / PRIMITIVE modifiers should be supported by reflection [v3]
Mandy Chung
mchung at openjdk.java.net
Tue Jun 7 19:23:41 UTC 2022
On Tue, 7 Jun 2022 19:02:41 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/reflect/AccessFlag.java line 134:
>>
>>> 132: * Now the flag has been repurposed as ACC_IDENTITY.
>>> 133: */
>>> 134: // SUPER(0x0000_0020, false, Set.of(Location.CLASS)),
>>
>> I expect the test should be updated instead of commenting this out.
>
> By the time this is finalized, there will be no ACC_SUPER in the JVMs spec.
We don't know what Java SE release ACC_SUPER will be dropped. If `AccessFlag` API is added in Java 20 and `ACC_SUPER` is dropped in the same release, then you are right and this constant will never be defined.
Anyway, I'm ok either the javadoc and `ACC_SUPER` is removed from this file or just keep it with an api note.
-------------
PR: https://git.openjdk.java.net/valhalla/pull/698
More information about the valhalla-dev
mailing list