On Tue, 15 Feb 2022 07:17:12 GMT, Adam Sotona <asot...@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