United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4511110 stddoclet: -linksource option produces '\' in links when run on Windows
JDK-4511110 : stddoclet: -linksource option produces '\' in links when run on Windows

Details
Type:
Bug
Submit Date:
2001-10-04
Status:
Resolved
Updated Date:
2002-12-05
Project Name:
JDK
Resolved Date:
2002-10-25
Component:
docs
OS:
windows_nt
Sub-Component:
doclet
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.2 (mantis)

Related Reports
Relates:

Sub Tasks

Description
Name: yyT116575			Date: 10/04/2001

java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

Running javadoc on Windows with -linksource produces backslashes 
in links to source files. When viewing these files (that were
produced on Windows) on UNIX, the links appear broken. 
URLs in HTML should always be with forward slashes as 
path separator, no matter what platform javadoc is run on.

The pages produced by Javadoc are viewable on Windows and not viewable 
on Unix. The information about the -linksource can be found at

http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javadoc.html#linksource

(Review ID: 133023) 
======================================================================

                                    

Comments
EVALUATION

This is a cross-platform bug.  When running javadoc on either Windows
or UNIX and displaying the documents on the same platform, no links
are broken.  However, we should fix this, because it is somewhat
common (outside Sun) for someone to run javadoc on Windows, and then
for UNIX users to want to view those documents.
###@###.### 2001-12-08

I have fixed this bug.  The bug fix is pending review.
###@###.### 2002-07-08
                                     
2001-12-08
PUBLIC COMMENTS

The '\' character has been switched to the '/' character in the link.
                                     
2004-06-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b05


                                     
2004-06-14



Hardware and Software, Engineered to Work Together