-
Bug
-
Resolution: Won't Fix
-
P4
-
5.0
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
See Bug # 6347538
If this is not a bug in Java 5, why is it now returning a different format string in Java 6? Java 6 doesn't return the embedded single quotes and spaces around the h character. Which is correct?
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See Bug # 6347538
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Time formatted strings without 08 in the field that would normally contain AM or PM
ACTUAL -
"12:00:00.000 08" is one example. "04:00:00 08" is another
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See Bug # 6347538
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use Java 1.4.2 or Java 6. In some end-user cases this is not an option
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
See Bug # 6347538
If this is not a bug in Java 5, why is it now returning a different format string in Java 6? Java 6 doesn't return the embedded single quotes and spaces around the h character. Which is correct?
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See Bug # 6347538
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Time formatted strings without 08 in the field that would normally contain AM or PM
ACTUAL -
"12:00:00.000 08" is one example. "04:00:00 08" is another
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See Bug # 6347538
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use Java 1.4.2 or Java 6. In some end-user cases this is not an option