Duplicate :
|
FULL PRODUCT VERSION : java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] A DESCRIPTION OF THE PROBLEM : The "FRAMES" link generated for class-use pages is defective. Specifically, it looks like this: <A HREF="../../../index.html?com/xyz/\class-useIXyz.html" target="_top"><B>FRAMES</B></A> Note that there is a "/\" before class-use, and that there is no path separator between class-use and IXyz.html. This appears to also occur on Linux, but there it's "\\" instead of "/\". This also occurs with JDK 1.5.0_02. It does not occur with 1.4.2, because in that version the link is just to index.html - see bug 4665566. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Create an interface com.xyz.IXyz, and a class com.xyz.impl.XyzImpl that implements IXyz. Then run javadoc from the source root, as follows: javadoc -classpath . -use -d doc com.xyz com.xyz.impl EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Expected to find a file doc/com/xyz/class-use/IXyz.html, containing a FRAMES link that works correctly. ACTUAL - File is created, but FRAMES link contains defective path separators as per description. REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- com.xyz.IXyz: ================== package com.xyz; public interface IXyz { public int getXyz(); } com.xyz.impl.XyzImpl: ==================== package com.xyz.impl; import com.xyz.IXyz; public class XyzImpl implements IXyz { public int getXyz() {return 15;} } ---------- END SOURCE ----------