Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4638316
Votes 0
Synopsis List final static variables (constants) separately from other variables
Category doclet:tbd
Reported Against 1.4
Release Fixed
State 6-Fix Understood, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 15-FEB-2002
Description




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) 
======================================================================
Work Around
N/A
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.
  xxxxx@xxxxx   2002-03-22
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang