diff --git a/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java b/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java index 7aac752cc89..c55ccd735df 100644 --- a/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java +++ b/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java @@ -1516,11 +1516,7 @@ public final class ModuleDescriptor } /** - * Returns the set of packages in the module. - * - *

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.

+ * Returns the set of all packages in the module. * * @return A possibly-empty unmodifiable set of the packages in the module */