-
Bug
-
Resolution: Won't Fix
-
P5
-
5.0, 6
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
Java reports "belaruski" as result of Display Name of Belarussian language. But right result should be "belaruskaya", because full name of Belarussian language is "belaruskaya mova".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Locale.setDefault(new Locale("be")); System.out.println(Locale.getDefault().getDisplayLanguage());
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
belaruskaya
ACTUAL -
belaruski
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public static void main(String args[]) throws Exception{
Locale.setDefault(new Locale("be"));
System.out.println(Locale.getDefault().getDisplayLanguage());
}
---------- END SOURCE ----------
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
Java reports "belaruski" as result of Display Name of Belarussian language. But right result should be "belaruskaya", because full name of Belarussian language is "belaruskaya mova".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Locale.setDefault(new Locale("be")); System.out.println(Locale.getDefault().getDisplayLanguage());
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
belaruskaya
ACTUAL -
belaruski
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public static void main(String args[]) throws Exception{
Locale.setDefault(new Locale("be"));
System.out.println(Locale.getDefault().getDisplayLanguage());
}
---------- END SOURCE ----------
- duplicates
-
JDK-6487141 Invalid language name for 'be' language
- Closed