mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8365898: Specification of java.lang.module.ModuleDescriptor.packages() method can be improved
Reviewed-by: alanb, liach
This commit is contained in:
parent
05da2137f1
commit
b8cdf31a2e
@ -1516,11 +1516,7 @@ public final class ModuleDescriptor
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the set of packages in the module.
|
||||
*
|
||||
* <p> The set of packages includes all exported and open packages, as well
|
||||
* as the packages of any service providers, and the package for the main
|
||||
* class. </p>
|
||||
* Returns the set of all packages in the module.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of the packages in the module
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user