Details
-
Bug
-
Resolution: Fixed
-
P5
-
6u13
-
b115
-
x86
-
windows_vista
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8072295 | 7u85 | Sean Coffey | P5 | Resolved | Fixed | b01 |
JDK-8059223 | 7u80 | Sean Coffey | P5 | Resolved | Fixed | b03 |
Description
FULL PRODUCT VERSION :
1.6.0_13
ADDITIONAL OS VERSION INFORMATION :
Windows Vista, 32 bit
A DESCRIPTION OF THE PROBLEM :
When printing the display name of the Local for South Africa, in swedish,
an additional space has slipped in at the end.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + ".");
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Output should be:
Sydafrika.
ACTUAL -
Sydafrika .
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + ".");
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) .trim()
1.6.0_13
ADDITIONAL OS VERSION INFORMATION :
Windows Vista, 32 bit
A DESCRIPTION OF THE PROBLEM :
When printing the display name of the Local for South Africa, in swedish,
an additional space has slipped in at the end.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + ".");
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Output should be:
Sydafrika.
ACTUAL -
Sydafrika .
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + ".");
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) .trim()
Attachments
Issue Links
- backported by
-
JDK-8059223 Incorrect display name of Locale for south africa
- Resolved
-
JDK-8072295 Incorrect display name of Locale for south africa
- Resolved