JDK-4526070 : stddoclet: Interface constants are missing in the Constant Field Values list
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_7
  • CPU: generic
  • Submitted: 2001-11-12
  • Updated: 2014-05-05
  • Resolved: 2002-04-06
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
1.4.1 hopperFixed
Related Reports
Duplicate :  
Duplicate :  
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
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper VERIFIED IN: hopper-beta
14-06-2004

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
29-03-2002

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