--- old/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java 2020-07-07 19:00:49.526059332 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java 2020-07-07 19:00:49.158059332 -0700 @@ -53,7 +53,7 @@ /** * Returns the fully qualified name of this package. * This is also known as the package's canonical name. - * For an {@linkplain #isUnnamed() unnamed package}, an empty name is returned. + * For an {@linkplain #isUnnamed() unnamed package}, an {@linkplain Name#isEmpty() empty name} is returned. * * @apiNote The fully qualified name of a named package that is * not a subpackage of a named package is its simple name. The @@ -70,7 +70,7 @@ /** * Returns the simple name of this package. For an {@linkplain - * #isUnnamed() unnamed package}, an empty name is returned. + * #isUnnamed() unnamed package}, an {@linkplain Name#isEmpty() empty name} is returned. * * @return the simple name of this package or an empty name if * this is an unnamed package