RFR: 8365898: Specification of java.lang.module.ModuleDescriptor.packages() method can be improved [v3]
Jaikiran Pai
jpai at openjdk.org
Tue Aug 26 10:05:36 UTC 2025
On Tue, 26 Aug 2025 05:37:49 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Can I please get a review of this trivial change to the `ModuleDescriptor.packages()` method's specification?
>>
>> The change here clarifies that this method returns all packages that belong to the module and not just those that are exported or open. This clarification should help avoid any confusion that may have been caused by the second paragraph in that method's specification which talks about exported and open packages.
>>
>> This updated specification matches the existing implementation of this method.
>>
>> I believe this will require a CSR, which I'll create shortly.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>
> Alan's review
The CSR is now ready to be reviewed https://bugs.openjdk.org/browse/JDK-8366150
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26928#issuecomment-3223500334
More information about the core-libs-dev
mailing list