-
Bug
-
Resolution: Fixed
-
P5
-
6
-
b01
-
x86
-
windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2149453 | 7 | Jiri Tusla | P5 | Closed | Fixed | b18 |
JDK-2143232 | 5.0u12 | Jiri Tusla | P5 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode, sharing)
(All versions affected)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
The french localization for the 'GF' country code is wrong.
It should be "Guyane française" instead of "Guinée française".
The english one : "French Guiana" is correct.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Very easy to reproduce:
import java.util.Locale;
public class TestLocale {
public static void main(String[] args) {
Locale locale = new Locale("en", "gf");
System.out.print(locale.getDisplayCountry(new Locale("fr")));
}
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should display the string "Guyane française".
ACTUAL -
"Guinée française"
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.util.Locale;
public class TestLocale {
public static void main(String[] args) {
Locale locale = new Locale("en", "gf");
System.out.print(locale.getDisplayCountry(new Locale("fr")));
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Either we will have to patch the JVM, or extends the Locale class to provide the correct value for the GF country code.
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode, sharing)
(All versions affected)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
The french localization for the 'GF' country code is wrong.
It should be "Guyane française" instead of "Guinée française".
The english one : "French Guiana" is correct.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Very easy to reproduce:
import java.util.Locale;
public class TestLocale {
public static void main(String[] args) {
Locale locale = new Locale("en", "gf");
System.out.print(locale.getDisplayCountry(new Locale("fr")));
}
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should display the string "Guyane française".
ACTUAL -
"Guinée française"
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.util.Locale;
public class TestLocale {
public static void main(String[] args) {
Locale locale = new Locale("en", "gf");
System.out.print(locale.getDisplayCountry(new Locale("fr")));
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Either we will have to patch the JVM, or extends the Locale class to provide the correct value for the GF country code.
- backported by
-
JDK-2143232 incorrect french localization for GF country code
- Resolved
-
JDK-2149453 incorrect french localization for GF country code
- Closed