changeset 47642:b6da56767057

8183901: Fix broken links to "Package Sealing" in the JAR spec Reviewed-by: alanb, mchung
author bchristi
date Wed, 25 Oct 2017 09:06:39 -0700
parents 711ef438b6ad
children 599bd0aa4433
files src/java.base/share/classes/java/lang/ClassLoader.java src/java.base/share/classes/java/lang/Package.java src/java.base/share/classes/java/util/jar/Attributes.java
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/ClassLoader.java	Tue Oct 24 19:05:29 2017 -0700
+++ b/src/java.base/share/classes/java/lang/ClassLoader.java	Wed Oct 25 09:06:39 2017 -0700
@@ -2166,7 +2166,7 @@
      * @spec JPMS
      *
      * @jvms 5.3 Run-time package
-     * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
+     * @see <a href="{@docRoot}/../specs/jar/jar.html#package-sealing">
      *      The JAR File Specification: Package Sealing</a>
      */
     protected Package definePackage(String name, String specTitle,
--- a/src/java.base/share/classes/java/lang/Package.java	Tue Oct 24 19:05:29 2017 -0700
+++ b/src/java.base/share/classes/java/lang/Package.java	Wed Oct 25 09:06:39 2017 -0700
@@ -109,7 +109,7 @@
  * and have no specification and implementation versioning information.
  *
  * @jvms 5.3 Run-time package
- * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
+ * @see <a href="{@docRoot}/../specs/jar/jar.html#package-sealing">
  * The JAR File Specification: Package Sealing</a>
  * @see ClassLoader#definePackage(String, String, String, String, String, String, String, URL)
  *
--- a/src/java.base/share/classes/java/util/jar/Attributes.java	Tue Oct 24 19:05:29 2017 -0700
+++ b/src/java.base/share/classes/java/util/jar/Attributes.java	Wed Oct 25 09:06:39 2017 -0700
@@ -568,7 +568,7 @@
         /**
          * {@code Name} object for {@code Sealed} manifest attribute
          * used for sealing.
-         * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
+         * @see <a href="{@docRoot}/../specs/jar/jar.html#package-sealing">
          *      Package Sealing</a>
          */
         public static final Name SEALED = new Name("Sealed");