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

Bad/broken link in synthFileFormat.html

    XMLWordPrintable

Details

    Description

      A link checker reported the following:

      api/java.desktop/javax/swing/plaf/synth/doc-files/synthFileFormat.html:56: id not found: api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream, java.lang.Class)

      This is caused by the following:
      $ find open/src -name synthFileFormat.html | xargs grep HREF
              HREF="../../../../../javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream,%20java.lang.Class)">

      This is wrong for two reasons:
      1. A fragment identifier may never contain a space, even when encoded by %20
      2. The correct link does not have a space.

      $ find build/linux-x86_64-server-release/images/docs -name SynthLookAndFeel.html | xargs grep 'id="load('
      build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.io.InputStream,java.lang.Class)">
      build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.net.URL)">


      These broken links are part of the noise that is preventing us from reaching our goal of no broken links.

      Attachments

        Activity

          People

            psadhukhan Prasanta Sadhukhan
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: