-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.4
-
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
-