Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211882

Broken links in serialized-form.html

    Details

      Description

      A link checker found the following broken link that looks like a typo:

      api/java.base/java/util/doc-files/coll-reference.html:401: id not found: api/java.base/java/util/Collections.html#copy-java.util.List(java.util.List)

      This appears to be the correct link:

      <a id="copy(java.util.List,java.util.List)">

      This is part of the noise that is getting in the way of achieving a goal of no broken links.

      -------

      More problems from the link checker in the collections API docs:

      api/serialized-form.html:21540: id not found: api/java.base/java/util/List.html#immutable
      api/serialized-form.html:21541: id not found: api/java.base/java/util/Map.html#immutable
      api/serialized-form.html:21542: id not found: api/java.base/java/util/Set.html#immutable

      The offending source seems to be these references in ImmutableCollections.java
           * <a href="List.html#immutable">List</a>,
           * <a href="Map.html#immutable">Map</a>, or
           * <a href="Set.html#immutable">Set</a>.
      It really does appear to be the case that there is no anchor named "immutable" in each of these classes.

      --------

      Also:
      open/src/java.base/share/classes/java/util/EnumSet.java: * <a href="../../serialized-form.html#java.util.EnumSet.SerializationProxy">
      This either needs an extra ../ or (preferenbly) replace the existing `../../` by `{@docRoot}/`


        Attachments

          Activity

            People

            • Assignee:
              smarks Stuart Marks
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: