JDK-6457444 : javadoc does not create html file correctly in 5.0u6
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 5.0,5.0u6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-08-07
  • Updated: 2014-05-05
  • Resolved: 2007-06-12
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.0u14 b01Fixed
Related Reports
Duplicate :  
Description
Jacaodc in 5.0 does not create java doc (html) correctly.

REPRODUCE :
 (1) Set 5.0 directory path to PATH
 (2) Unfold javadoc-incorrect-doc.zip and  invoke api.bat
     The batch file creates api folder.

PROBLEM:
 The api.bat created the folloeing folders and html file.
    api/a/class-use/a.html
    api/a/class-use/b.html

 The following lines can be seen  around line#56 in api/a/class-use/a.html. 

  <A HREF="../../index.html?a/\class-usea.html" target="_top">

 a/\class-usea.html is not corrent, but a/\class-use/a.html seems correct.
 api/a/class-use/b.html is as well.

In 1.4.2_10, the above mentioned line are described as a/\class-use/a.html and 
 api/a/class-use/b.html.

Comments
EVALUATION This change looks much better . So, finally I am including this change. Fix: Code is not appending the file separator in the path. Code change: Line No: 149-154 ! path += "class-use"+DirectoryManager.URL_FILE_SEPERATOR; in place of Line No: 149-154 - if (path.length() > 0) { - path += File.separator; - } ! path += "class-use";
02-04-2007