-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6, 1.2.0
-
1.2beta4
-
sparc
-
solaris_2.5
-
Verified
Name: avC70361 Date: 03/02/98
The java.util.Locale doc is unclear about toString() method. It states
"Getter for the programmatic name of the entire locale, with the language,
country and variant separated by underbars. Language is always lower case, and
country is always uppcer case. If a field is missing, at most one underbar will
occur. Example: "en", "de_DE", "en_US_WIN", "de_POSIX", "fr_MAC"". But it is not
evident what should be returned when the language field is missing. Moreover,
documentation for java.util.ResourceBundle and Locale implementation seem to
assume that when the country or the variant field is not empty then the language
and, accordingly, the language and the country fields are not empty also. But
neither ResourceBundle nor Locale docs state it.
======================================================================