Name: rmT116609 Date: 12/10/2001
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-be
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
When doing a javadoc on a file like the following:
-- Test.java --
public class Test
{
public static final boolean TRUE_VALUE=true;
public static final boolean FALSE_VALUE=false;
}
-- Test.java --
using the default doclet with a simple "javadoc Test.java". The file constant-values.html
shows 0 and 1 as the values of the fields TRUE_VALUE and FALSE_VALUE.
According to the Java Language Specification the Bolean Literal values are
BooleanLiteral: one of true false
(Review ID: 137056)
======================================================================