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 a shortly.

-------------

Commit messages:
 - 8365898: Specification of java.lang.module.ModuleDescriptor.packages() 
method can be improved

Changes: https://git.openjdk.org/jdk/pull/26928/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26928&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365898
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26928.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26928/head:pull/26928

PR: https://git.openjdk.org/jdk/pull/26928

Reply via email to