From ece79c7090a11e3054ccb9eb05d01d5b529f7ea8 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sun, 19 Dec 2004 19:12:09 +0000 Subject: 2004-12-19 Michael Koch * java/util/Locale.java: Make sure all locales get only created once. (availableLocales): New static field. (localeMap): Likewise. (getLocale): New private static method. (getAvailableLocales): Re-implemented. (getISOCountries): Fixed typo in javadoc. (getDisplayLanguage): Load iso639.properties from correct package. (getDisplayCountry): Load iso3166.properties from correct package. * scripts/generate-locale-list.sh: New script. * lib/Makefile.am: Call scripts/generate-locale-list.sh to generate java/util/LocaleData.java. --- lib/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index cff05f44a..fcee18061 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -79,6 +79,7 @@ resources: classes: genclasses genclasses: gen-classlist.sh standard.omit + $(top_srcdir)/scripts/generate-locale-list.sh > $(top_srcdir)/java/util/LocaleData.java top_builddir=$(top_builddir) $(SHELL) ./gen-classlist.sh standard $(JAVA_DEPEND): genclasses -- cgit v1.2.1