On Tue, 15 Feb 2022 09:06:02 GMT, ExE Boss <d...@openjdk.java.net> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Respond to more review feedback. > > src/java.base/share/classes/java/lang/reflect/AccessFlag.java line 163: > >> 161: * @see Class#isEnum() >> 162: */ >> 163: ENUM(0x00004000, false, Set.of(TYPE, FIELD)), > > These can use the **package‑private** constant fields from > `java.lang.reflect.Modifier`: > <https://github.com/openjdk/jdk/blob/ab623f8ae05c57b165d4d918d896dbdc5b4177e9/src/java.base/share/classes/java/lang/reflect/Modifier.java#L338-L347> Good suggestion; will be reflected in the next push. ------------- PR: https://git.openjdk.org/jdk/pull/7445