mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
TimeZone.java: Initialize lazily.
2003-09-18 Ingo Proetel <proetel@aicas.com> * java/util/TimeZone.java: Initialize lazily. * java/util/Locale.java (readManifest): Fix check for country. * java/util/GregorianCalendar.java: Make use of ResourceBundle better traceable * java/util/Calendar.java: Make use of ResourceBundle better traceable. From-SVN: r71509
This commit is contained in:
committed by
Michael Koch
parent
fc08ad2815
commit
1ea8e73b80
@@ -489,7 +489,7 @@ public final class Locale implements Serializable, Cloneable
|
||||
+ "WS,YE,YT,YU,ZA,ZM,ZR,ZW")
|
||||
.indexOf(country);
|
||||
|
||||
if (index % 3 != 0 || language.length() != 2)
|
||||
if (index % 3 != 0 || country.length() != 2)
|
||||
throw new MissingResourceException
|
||||
("Can't find ISO3 country for " + country,
|
||||
"java.util.Locale", country);
|
||||
|
||||
Reference in New Issue
Block a user