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

stddoclet: A first sentence {@docRoot} link is broken in single-page index

XMLWordPrintable

    • b30
    • generic
    • other

      The first sentence of a package, class or member contains {@docRoot}
      appears in the alphabetic index as a kind of a summary. If that index
      is generated *without* -splitindex, that {@docRoot} link is broken.

      For example, for a first sentence in a class comment that links
      to the package summary page, if the original first sentence is:

      <A HREF="{@docRoot}/p1/package-summary.html#tests">To package tests</A>

      I expect to get this in the index-all.html file:

      <A HREF="./p1/package-summary.html#tests">To package tests</A>

      but instead get this:

      <A HREF="/p1/package-summary.html#tests">To package tests</A>

            jhosunw Jamie Ho (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: