8211882: Broken links in serialized-form.html
authorsmarks
Thu, 06 Dec 2018 14:34:11 -0800
changeset 52887 0d89f672c62e
parent 52886 2708a32dc964
child 52888 9607fb16ccfe
8211882: Broken links in serialized-form.html Reviewed-by: darcy, lancea
src/java.base/share/classes/java/util/EnumSet.java
src/java.base/share/classes/java/util/ImmutableCollections.java
--- a/src/java.base/share/classes/java/util/EnumSet.java	Thu Dec 06 14:18:39 2018 -0800
+++ b/src/java.base/share/classes/java/util/EnumSet.java	Thu Dec 06 14:34:11 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.
      *
--- a/src/java.base/share/classes/java/util/ImmutableCollections.java	Thu Dec 06 14:18:39 2018 -0800
+++ b/src/java.base/share/classes/java/util/ImmutableCollections.java	Thu Dec 06 14:34:11 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