United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4628281 : REGRESSION: Int. links missing from return/param types when .java files passd in

Details
Type:
Bug
Submit Date:
2002-01-25
Status:
Resolved
Updated Date:
2002-10-26
Project Name:
JDK
Resolved Date:
2002-10-26
Component:
tools
OS:
linux,generic
Sub-Component:
javadoc(tool)
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0,1.4.1
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:
Duplicate:

Sub Tasks

Description

Name: rmT116609			Date: 01/24/2002


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

DESCRIPTION OF THE PROBLEM :
When I call the javadoc with a list of files it does not generate crossreferences between classes/interfaces for the parameter and return values.

REGRESSION.  Last worked in version 1.3.1_02

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Create the following interfaces:
   
   First:

   package de;

   public interface class1 {}

   Second:

   package de;

   public interface class2 {
      public class1 getClass1Object(class1 param);
   }

2. Optionally create a file which contains both interfaces.

3. Run javadoc:
   javadoc de/class1.java de/class2.java 


EXPECTED VERSUS ACTUAL BEHAVIOR :
The parameter and return value of method class2.getClass1Object should be links to class1.

Actual only the string de.class1 appears.

This bug can be reproduced always.

Release Regression From : 1.3.1_02
The above release value was the last known release where this 
bug was knwon to work. Since then there has been a regression.

(Review ID: 138599) 
======================================================================

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b05


                                     
2004-06-14
PUBLIC COMMENTS

...
                                     
2004-06-10
EVALUATION

A regression, so we should fix this for the next release.

###@###.### 2002-01-25

> When you specify classes on the command line instead of packages, the
> links to parameter and return types are missing from the method
> signature.  This happens because ClassDoc.isIncluded() returns false,
> even though the corresponding class was specified on the command line.
> Is this a bug in the Javadoc tool?  You can use my regression test to
> verify this bug:
> 
> /home/jh104163/stdbugs/4628281/test/com/sun/javadoc/testReturnParamLinks

###@###.### 2002-04-01

Re-worded the synopsis 
from:
REGRESSION: javadoc doesn't generate cross references between classes/interfaces
to:
REGRESSION: Int. links missing from return/param types when .java files passd in

so it more specifically identifies the problem (to differentiate it from 
numerous other link bugs).

###@###.### 2002-09-18
                                     
2002-09-18



Hardware and Software, Engineered to Work Together