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

javadoc creates broken link caused by unencoded name

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: tools

      Description

      See test test/langtools/jdk/javadoc/doclet/testAnchorNames/TestAnchorNames.java

      When using JavadocTester.checkLinks, it shows that references are not correctly being encoded.

      Starting subtest 3.1: Check links
      out-html4/pkg1/RegClass.html:538: id not found: out-html4/constant-values.html#pkg1.RegClass.S_$$$$$INT

      The constant_values page has the correctly encoded declaration:


      <tbody>
      <tr class="altColor">
      <td class="colFirst"><a name="pkg1.RegClass.S_:D:D:D:D:DINT">
      <!-- -->
      </a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
      <th class="colSecond" scope="row"><code><a href="pkg1/RegClass.html#S_:D:D:D:D:DINT">S_$$$$$INT</a></code></th>
      <td class="colLast"><code>0</code></td>
      </tr>
      </tbody>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: