RFR: JDK-8266670: Better modeling of access flags in core reflection [v4]
Joe Darcy
darcy at openjdk.java.net
Tue Feb 15 21:09:57 UTC 2022
On Tue, 15 Feb 2022 07:17:12 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> I would also recommend to sort access flags by the mask value. Sorted flags will match the specification and it will also make more deterministic all operations crawling through all the flags. This AccessFlag enum is very useful even outside of java.lang.reflect and having it ordered by the spec would make it perfect.
>
> Thanks!
Good point; updated as suggested with a note future additions will follow the same policy.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7445
More information about the core-libs-dev
mailing list