On Thu, 24 Feb 2022 01:17:23 GMT, Joe Darcy <da...@openjdk.org> wrote:
> It does because of the AccessFlags.MODULE constant. But that’s exactly what the unqualified `MODULE` identifier refers to, and there’s no other bare `MODULE` identifier in scope that would shadow the `AccessFlag.MODULE` constant from the POV of `AccessFlag.LocationToFlags`. ------------- PR: https://git.openjdk.java.net/jdk/pull/7445