United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4526070 : stddoclet: Interface constants are missing in the Constant Field Values list

Details
Type:
Bug
Submit Date:
2001-11-12
Status:
Closed
Updated Date:
2002-04-25
Project Name:
JDK
Resolved Date:
2002-04-06
Component:
docs
OS:
solaris_7,generic
Sub-Component:
doclet
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.1 (hopper)

Related Reports
Duplicate:
Duplicate:

Sub Tasks

Description

Name: nt126004			Date: 11/12/2001


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

JDK 1.4 Beta 3's JavaDoc generates a new extra list with all public Constant
Field Values. But it only shows Class constants there, Interface constants are
missing.

MyInterface.java:
package interfacetest;

public interface MyInterface {
  public final static int newField0 = 0;
  public final static int newField1 = 1;
}

Compile it and then:
javadoc MyInterface.java

Open index.html, navigate to MyInterface, field details. Click on the Constant
Field Values link (which has an anchor) and you arrive at an EMPTY Constant
Field Values list, because Interface constants are missing there. This list
shows only class constants.
(Review ID: 135499) 
======================================================================

                                    

Comments
EVALUATION

Need to determine if this can be fixed in the doclet.
###@###.### 2001-11-13

This bug has been fixed.  Location of fix:

ConstantsSummaryWriter

Regression test added:

TestConstantValueWrapper.sh
###@###.### 2002-03-29

Verified using TestConstantValueWrapper.sh
###@###.### 2002-04-25
                                     
2002-03-29
PUBLIC COMMENTS

This bug has been fixed.  The inteface constants now show up in the constants summary page.
###@###.### 2002-03-29
                                     
2002-03-29
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
hopper

FIXED IN:
hopper

INTEGRATED IN:
hopper

VERIFIED IN:
hopper-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together