Hi all,

Please review this small fix to correct some broken links in serialized-form.html. Patch appended below.

Bug:
        https://bugs.openjdk.java.net/browse/JDK-8211882

Thanks,

s'marks



# HG changeset patch
# User smarks
# Date 1544056617 28800
#      Wed Dec 05 16:36:57 2018 -0800
# Node ID 6c531005388bd911684e43d654c914b85a64f9a4
# Parent  413c28945e0f81559283a13d759867d6ae9e7f9d
8211882: Broken links in serialized-form.html
Reviewed-by: XXX

diff -r 413c28945e0f -r 6c531005388b src/java.base/share/classes/java/util/EnumSet.java --- a/src/java.base/share/classes/java/util/EnumSet.java Wed Dec 05 19:17:22 2018 +0100 +++ b/src/java.base/share/classes/java/util/EnumSet.java Wed Dec 05 16:36:57 2018 -0800
@@ -463,7 +463,7 @@

     /**
      * Returns a
-     * <a 
href="../../serialized-form.html#java.util.EnumSet.SerializationProxy">
+ * <a href="{@docRoot}/serialized-form.html#java.util.EnumSet.SerializationProxy">
      * SerializationProxy</a>
      * representing the state of this instance.
      *
diff -r 413c28945e0f -r 6c531005388b src/java.base/share/classes/java/util/ImmutableCollections.java --- a/src/java.base/share/classes/java/util/ImmutableCollections.java Wed Dec 05 19:17:22 2018 +0100 +++ b/src/java.base/share/classes/java/util/ImmutableCollections.java Wed Dec 05 16:36:57 2018 -0800
@@ -1091,9 +1091,9 @@
      * Creates and returns an immutable collection from this proxy class.
      * The instance returned is created as if by calling one of the
      * static factory methods for
-     * <a href="List.html#immutable">List</a>,
-     * <a href="Map.html#immutable">Map</a>, or
-     * <a href="Set.html#immutable">Set</a>.
+     * <a href="List.html#unmodifiable">List</a>,
+     * <a href="Map.html#unmodifiable">Map</a>, or
+     * <a href="Set.html#unmodifiable">Set</a>.
      * This proxy class is the serial form for all immutable collection 
instances,
      * regardless of implementation type. This is necessary to ensure that the
      * existence of any particular implementation type is kept out of the

Reply via email to