JDK-4760191 : stddoclet: A first sentence {@docRoot} link is broken in single-page index
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: generic
  • Submitted: 2002-10-09
  • Updated: 2014-05-05
  • Resolved: 2003-11-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b30Fixed
Description
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>

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b30 tiger-beta
14-06-2004

PUBLIC COMMENTS Fixed. ###@###.### 2003-11-15
15-11-2003

EVALUATION Fix for Tiger. I've already written the test for index-all.html in the DocRootSlash.java test file, but have yet to write the fix. ###@###.### 2002-10-08 The SingleIndexWriter.java source file uses a constructor that does not set the relativepath field, while SplitIndexWriter.java does. ###@###.### 2002-10-09 Fixed by initializing the relativepath field. ###@###.### 2003-11-15
09-10-2002