Name: rmT116609 Date: 02/10/2004
FULL PRODUCT VERSION :
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
In method formatTo, parameters width and precision are declared
as Integer but most of classes that implement interface Fomattable
use this parameter as an int using unboxing conversion.
I think a better place the unboxing conversion occur
should be in the caller method (the method that calls formatTo()).
(Incident Review ID: 237504)
======================================================================
- relates to
-
JDK-5039962 (fmt) IllegalFormat{Precision,Width}Exception should use int instead of Integer
-
- Resolved
-