-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 1.1.4
-
Component/s: core-libs
-
generic
-
generic
Locale has two constructors:
Locale (String language, String country);
Locale (String language, String country, String variant);
Empty strings are accepted for any of these parameters. A locale without a language identifier is unusable and invalid in Java, but our constructors allow it without complaint.
Locale (String language, String country);
Locale (String language, String country, String variant);
Empty strings are accepted for any of these parameters. A locale without a language identifier is unusable and invalid in Java, but our constructors allow it without complaint.
- duplicates
-
JDK-4092475 Locale generates incorrect display name for custom Locales
-
- Closed
-