On Tue, 14 Jun 2022 01:40:53 GMT, liach <d...@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

Reply via email to