--- old/src/java.base/share/classes/java/lang/Module.java 2020-04-06 16:20:04.627005001 -0700 +++ new/src/java.base/share/classes/java/lang/Module.java 2020-04-06 16:20:04.055005001 -0700 @@ -1381,6 +1381,8 @@ /** * {@inheritDoc} * This method returns {@code null} when invoked on an unnamed module. + *
Note that any annotation returned by this method is a
+ * declaration annotation.
*/
@Override
public Note that any annotations returned by this method are
+ * declaration annotations.
* This method returns an empty array when invoked on an unnamed module.
*/
@Override
@@ -1398,6 +1402,8 @@
/**
* {@inheritDoc}
+ * Note that any annotations returned by this method are
+ * declaration annotations.
* This method returns an empty array when invoked on an unnamed module.
*/
@Override