RFR: JDK-8266670: Better modeling of access flags in core reflection [v24]
Joe Darcy
darcy at openjdk.java.net
Tue Jun 14 02:02:48 UTC 2022
On Tue, 14 Jun 2022 01:40:53 GMT, liach <duke at openjdk.java.net> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Make mask fields final in ModuleDescriptor.
>
> src/java.base/share/classes/java/lang/reflect/AccessFlag.java line 300:
>
>> 298: /**
>> 299: * {@return a set of access flags for the given mask value
>> 300: * appropriate for the location in question}
>
> Should we specify that the returned set is unmodifiable/immutable?
Sure; that would be consistent with other parts of the PR.
-------------
PR: https://git.openjdk.org/jdk/pull/7445
More information about the core-libs-dev
mailing list