-
Bug
-
Resolution: Not an Issue
-
P4
-
5.0
-
Fix Understood
-
generic
-
generic
I notice the standard doclet lists both of these on the constants page:
public class Class1 {
public static final String STATIC_FINAL_FIELD = "Hi";
public final String nonStaticFinalField = "Hi";
}
Isn't it a bug that a final non-static field is included?
The fields on this page are selected by FieldDoc.constantValue()
http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/doclet/spec/com/sun/javadoc/FieldDoc.html#constantValue()
###@###.### 2005-05-26 01:39:36 GMT
public class Class1 {
public static final String STATIC_FINAL_FIELD = "Hi";
public final String nonStaticFinalField = "Hi";
}
Isn't it a bug that a final non-static field is included?
The fields on this page are selected by FieldDoc.constantValue()
http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/doclet/spec/com/sun/javadoc/FieldDoc.html#constantValue()
###@###.### 2005-05-26 01:39:36 GMT