Details
-
Bug
-
Resolution: Unresolved
-
P4
-
7u75, 8, 9
-
x86_64
-
windows_7
Description
FULL PRODUCT VERSION :
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
The country name for locale "no_NO_NY" (Norwegian, nynorsk), when displayed with itself as given locale, comes out incorrect.
ADDITIONAL REGRESSION INFORMATION:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Instantiate a java.util.Locale object named "loc" with the following settings:
* language = "no"
* country = "NO"
* variant = "NY"
2) Print out the result of calling loc.getDisplayName(loc).
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
java.util.Locale locale = new java.util.Locale("no", "NO", "NY");
System.out.println( locale.getDisplayCountry(locale) );
---------- END SOURCE ----------
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
The country name for locale "no_NO_NY" (Norwegian, nynorsk), when displayed with itself as given locale, comes out incorrect.
ADDITIONAL REGRESSION INFORMATION:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Instantiate a java.util.Locale object named "loc" with the following settings:
* language = "no"
* country = "NO"
* variant = "NY"
2) Print out the result of calling loc.getDisplayName(loc).
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
java.util.Locale locale = new java.util.Locale("no", "NO", "NY");
System.out.println( locale.getDisplayCountry(locale) );
---------- END SOURCE ----------