On Wed, 25 May 2022 19:22:51 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> AccessFlags.SUPER can/should be removed; it is unused and will be redefined 
> in the [Value Objects JEP](https://openjdk.java.net/jeps/8277163). It will be 
> a cleaner transition if there is no opportunity to create a dependency on the 
> obsolete flag.

Hmm. I don't agree with that conclusion. I see the role of AccessFlags is to 
model what is in the class file. ACC_SUPER has been documented and in multiple 
versions of the JVMS and has appeared set in class files. If the bit position 
is reused, that is fine and the API can accommodate that overlap, unlike a 
bit-flag based model.


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

Reply via email to