JDK-4942866 : Malformed html in JavaDoc for Double.valueOf
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 5.0
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-23
  • Updated: 2003-11-11
  • Resolved: 2003-11-11
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
5.0 b28Fixed
Related Reports
Relates :  
Description
The JavaDoc for the Double.valueOf method has mismatched <dl></dl> tags; <dl> is used where </dl> should be.  This causes rendering problems on some browsers and should be fixed.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
14-06-2004

SUGGESTED FIX src/share/classes/java/lang>sccs sccsdiff -r1.86 -r1.87 Float.java ------- Float.java ------- 27a28 > * @author Joseph D. Darcy 56,58c57,59 < * It is equal to the value returned by < * <code>Float.parseFloat(&quot;0x1.fffffep127&quot;)</code> and < * also equal to <code>Float.intBitsToFloat(0x7f7fffff)</code>. --- > * It is equal to the hexadecimal floating-point literal > * <code>0x1.fffffeP+127f</code> and also equal to > * <code>Float.intBitsToFloat(0x7f7fffff)</code>. 60c61 < public static final float MAX_VALUE = 3.4028235e+38f; --- > public static final float MAX_VALUE = 3.4028235e+38f; // 0x1.fffffeP+127f 64,67c65,67 < * <code>float</code>, 2<sup>-149</sup>. It is equal to the value < * returned by < * <code>Float.parseFloat(&quot;0x0.000002p-126&quot;)</code> and < * also equal to <code>Float.intBitsToFloat(0x1)</code>. --- > * <code>float</code>, 2<sup>-149</sup>. It is equal to the > * hexadecimal floating-point literal <code>0x0.000002P-126f</code> > * and also equal to <code>Float.intBitsToFloat(0x1)</code>. 69c69 < public static final float MIN_VALUE = 1.4e-45f; --- > public static final float MIN_VALUE = 1.4e-45f; // 0x0.000002P-126f 261c261 < * <blockquote><i> --- > * <blockquote> 263c263 < * <dt>FloatValue: --- > * <dt><i>FloatValue:</i> 266,268c266,268 < * <dd>Sign<sub>opt</sub> FloatingPointLiteral < * <dd>Sign<sub>opt</sub> HexFloatingPointLiteral < * <dd>SignedInteger --- > * <dd><i>Sign<sub>opt</sub> FloatingPointLiteral</i> > * <dd><i>Sign<sub>opt</sub> HexFloatingPointLiteral</i> > * <dd><i>SignedInteger</i> 274,275c274,275 < * <dt>HexFloatingPointLiteral: < * <dd> HexSignificand BinaryExponent FloatTypeSuffix<sub>opt</sub> --- > * <dt><i>HexFloatingPointLiteral</i>: > * <dd> <i>HexSignificand BinaryExponent FloatTypeSuffix<sub>opt</sub></i> 281,287c281,287 < * <dt>HexSignificand: < * <dd>HexNumeral < * <dd>HexNumeral</i><code>.</code><i> < * <dd></i><code>0x</code><i> HexDigits<sub>opt</sub> < * </i><code>.</code><i> HexDigits < * <dd></i><code>0X</code><i> HexDigits<sub>opt</sub> < * </i><code>.</code><i> HexDigits --- > * <dt><i>HexSignificand:</i> > * <dd><i>HexNumeral</i> > * <dd><i>HexNumeral</i> <code>.</code> > * <dd><code>0x</code> <i>HexDigits<sub>opt</sub> > * </i><code>.</code><i> HexDigits</i> > * <dd><code>0X</code><i> HexDigits<sub>opt</sub> > * </i><code>.</code> <i>HexDigits</i> 293,295c293,294 < * <dt>BinaryExponent: < * <dd>BinaryExponentIndicator SignedInteger < * <dd> --- > * <dt><i>BinaryExponent:</i> > * <dd><i>BinaryExponentIndicator SignedInteger</i> 301,304c300,303 < * <dt>BinaryExponentIndicator: < * <dd></i><code>p</code><i> < * <dd></i><code>P</code><i> < * <dl> --- > * <dt><i>BinaryExponentIndicator:</i> > * <dd><code>p</code> > * <dd><code>P</code> > * </dl> 306c305 < * </i></blockquote> --- > * </blockquote> src/share/classes/java/lang>sccs sccsdiff -r1.87 -r1.88 Double.java ------- Double.java ------- 26a27 > * @author Joseph D. Darcy 54,57c55,58 < * <code>double</code>, (2-2<sup>-52</sup>)&middot;2<sup>1023</sup>. < * It is equal to the value returned by < * <code>Double.parseDouble(&quot;0x1.fffffffffffffp1023&quot;)</code> < * and also equal to --- > * <code>double</code>, > * (2-2<sup>-52</sup>)&middot;2<sup>1023</sup>. It is equal to > * the hexadecimal floating-point literal > * <code>0x1.fffffffffffffP+1023</code> and also equal to 60c61 < public static final double MAX_VALUE = 1.7976931348623157e+308; --- > public static final double MAX_VALUE = 1.7976931348623157e+308; // 0x1.fffffffffffffP+1023 65,67c66,68 < * value returned by < * <code>Double.parseDouble(&quot;0x0.0000000000001p-1022&quot;)</code> < * and also equal to <code>Double.longBitsToDouble(0x1L)</code>. --- > * hexadecimal floating-point literal > * <code>0x0.0000000000001P-1022</code> and also equal to > * <code>Double.longBitsToDouble(0x1L)</code>. 69c70 < public static final double MIN_VALUE = 4.9e-324; --- > public static final double MIN_VALUE = 4.9e-324; // 0x0.0000000000001P-1022 341c342 < * <dl> --- > * </dl> ###@###.### 2003-10-31
31-10-2003

EVALUATION A fine idea. ###@###.### 2003-10-23
23-10-2003