United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4638316 : List final static variables (constants) separately from other variables

Details
Type:
Enhancement
Submit Date:
2002-02-15
Status:
Open
Updated Date:
2016-05-16
Project Name:
JDK
Resolved Date:
Component:
tools
OS:
windows_nt
Sub-Component:
javadoc(tool)
CPU:
x86
Priority:
P4
Resolution:
Unresolved
Affected Versions:
1.4.0
Targeted Versions:
10

Related Reports

Sub Tasks

Description

Name: rmT116609			Date: 02/14/2002


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


FULL OPERATING SYSTEM VERSION :
Windows NT Version 4.0

DESCRIPTION OF THE PROBLEM :

It would be nice if the "Field Summary" section of the generated HTML was split into two sections, one for constants (static final variables) called "Constant Field Summary", and the other called "Field Summary" for the remaining member variables.

This is similar to the way that constructors and other methods are currently listed in separate sections.

Related bugs: 4485326, 4113311, 4113722

---------- BEGIN SOURCE ----------
// Run 'javadoc -protected' on this

public class Foo
{
    public static final int     MAX = 1000;  // Constant

    protected static int        s_count;

    protected int               m_size;

    public Foo()                // Constructor
    {
        s_count++;
    }

    public int getSize()        // Non-ctor method
    {
        return m_size;
    }
}

---------- END SOURCE ----------
(Review ID: 139710) 
======================================================================

                                    

Comments
We could do something similar to Method tabs we did for JDK 8.
                                     
2015-12-07
Update the Field summary similar to what we did for Method Summary and group it according to types.
                                     
2014-01-23
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
dragon


                                     
2004-06-14
EVALUATION

Should be decided in conjunction with other requests to give users more
flexibility in viewing the output, as spelled out in the umbrella RFE 4656982.
###@###.### 2002-03-22
                                     
2002-03-22



Hardware and Software, Engineered to Work Together