8001231: Move locale data out of rt.jar (except the US locale)
Reviewed-by: alanb, erikj
--- a/jdk/make/java/java/genlocales.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/java/java/genlocales.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -38,31 +38,31 @@
# only FILES_java and FILES_compiled_properties variables will be picked up
#
# $(BUILDDIR)/java/util/FILES_java.gmk & $(BUILDDIR)/java/util/FILES_properties.gmk
-# contain "sun.util.resources" for European language support
+# contain "sun.util.resources" for US language support
include $(BUILDDIR)/java/util/FILES_java.gmk
include $(BUILDDIR)/java/util/FILES_properties.gmk
-Euro_Resources_java := $(FILES_java)
-Euro_Resources_properties := $(FILES_compiled_properties)
+US_Resources_java := $(FILES_java)
+US_Resources_properties := $(FILES_compiled_properties)
# $(BUILDDIR)/java/text/FILES_java.gmk contains the "sun.text.resources" for
-# European language support
+# US language support
include $(BUILDDIR)/java/text/base/FILES_java.gmk
-Euro_Resources_java += $(FILES_java)
+US_Resources_java += $(FILES_java)
FILES_compiled_properties=
# $(BUILDDIR)/sun/text/FILES_java.gmk & $(BUILDDIR)/sun/text/FILES_properties.gmk
-# contain both resources for Non-European language support
+# contain both resources for Non-US language support
include $(BUILDDIR)/sun/text/FILES_java.gmk
include $(BUILDDIR)/sun/text/FILES_properties.gmk
-NonEuro_Resources_java := $(FILES_java)
-NonEuro_Resources_properties := $(FILES_compiled_properties)
+NonUS_Resources_java := $(FILES_java)
+NonUS_Resources_properties := $(FILES_compiled_properties)
# Restore the orignal FILES_java & FILES_compiled_properties variables
FILES_java := $(FILES_java_orig)
@@ -80,30 +80,30 @@
ifeq ($(PLATFORM), macosx)
$(LocaleDataMetaInfo_Dest):$(LocaleDataMetaInfo_Src) $(LOCALEGEN_SH)
- @$(RM) $@.tmp.euro $@.tmp.noneuro;
+ @$(RM) $@.tmp.us $@.tmp.nonus;
@$(prep-target)
- @$(ECHO) $(Euro_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.euro;
- @$(ECHO) $(Euro_Resources_java) | $(NAWK) 'gsub(/.java/,"\n") {print}' >> $@.tmp.euro;
- @$(ECHO) $(NonEuro_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.noneuro;
- @$(ECHO) $(NonEuro_Resources_java) | $(NAWK) 'gsub(/.java/,"\n") {print}' >> $@.tmp.noneuro;
+ @$(ECHO) $(US_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.us;
+ @$(ECHO) $(US_Resources_java) | $(NAWK) 'gsub(/.java/,"\n") {print}' >> $@.tmp.us;
+ @$(ECHO) $(NonUS_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.nonus;
+ @$(ECHO) $(NonUS_Resources_java) | $(NAWK) 'gsub(/.java/,"\n") {print}' >> $@.tmp.nonus;
NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \
- $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.euro \
- $@.tmp.noneuro $< $@
- @$(RM) $@.tmp.euro $@.tmp.noneuro;
+ $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.us \
+ $@.tmp.nonus $< $@
+ @$(RM) $@.tmp.us $@.tmp.nonus;
else
$(LocaleDataMetaInfo_Dest):$(LocaleDataMetaInfo_Src) $(LOCALEGEN_SH)
- @$(RM) $@.tmp.euro $@.tmp.noneuro;
+ @$(RM) $@.tmp.us $@.tmp.nonus;
@$(prep-target)
- @$(ECHO) $(subst .properties,'\n',$(Euro_Resources_properties)) > $@.tmp.euro;
- @$(ECHO) $(subst .java,'\n',$(Euro_Resources_java)) >> $@.tmp.euro;
- @$(ECHO) $(subst .properties,'\n',$(NonEuro_Resources_properties)) > $@.tmp.noneuro;
- @$(ECHO) $(subst .java,'\n',$(NonEuro_Resources_java)) >> $@.tmp.noneuro;
+ @$(ECHO) $(subst .properties,'\n',$(US_Resources_properties)) > $@.tmp.us;
+ @$(ECHO) $(subst .java,'\n',$(US_Resources_java)) >> $@.tmp.us;
+ @$(ECHO) $(subst .properties,'\n',$(NonUS_Resources_properties)) > $@.tmp.nonus;
+ @$(ECHO) $(subst .java,'\n',$(NonUS_Resources_java)) >> $@.tmp.nonus;
NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \
- $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.euro \
- $@.tmp.noneuro $< $@
- @$(RM) $@.tmp.euro $@.tmp.noneuro;
+ $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.us \
+ $@.tmp.nonus $< $@
+ @$(RM) $@.tmp.us $@.tmp.nonus;
endif
genlocales : $(LocaleDataMetaInfo_Dest)
--- a/jdk/make/java/java/localegen.sh Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/java/java/localegen.sh Wed Oct 31 11:33:36 2012 -0700
@@ -35,11 +35,11 @@
# A list of resource base name list;
RESOURCE_NAMES=$1
-# A list of European resources;
-EURO_FILES_LIST=$2
+# A list of US resources;
+US_FILES_LIST=$2
-# A list of non-European resources;
-NONEURO_FILES_LIST=$3
+# A list of non-US resources;
+NONUS_FILES_LIST=$3
INPUT_FILE=$4
OUTPUT_FILE=$5
@@ -53,23 +53,23 @@
sed_script="$SED -e \"s@^#warn .*@// -- This file was mechanically generated: Do not edit! -- //@\" "
# ja-JP-JP and th-TH-TH need to be manually added, as they don't have any resource files.
-noneuroall=" ja-JP-JP th-TH-TH "
+nonusall=" ja-JP-JP th-TH-TH "
for FILE in $RESOURCE_NAMES
do
- getlocalelist $FILE $EURO_FILES_LIST
- sed_script=$sed_script"-e \"s@#"$FILE"_EuroLocales#@$localelist@g\" "
- euroall=$euroall" "$localelist
- getlocalelist $FILE $NONEURO_FILES_LIST
- sed_script=$sed_script"-e \"s@#"$FILE"_NonEuroLocales#@$localelist@g\" "
- noneuroall=$noneuroall" "$localelist
+ getlocalelist $FILE $US_FILES_LIST
+ sed_script=$sed_script"-e \"s@#"$FILE"_USLocales#@$localelist@g\" "
+ usall=$usall" "$localelist
+ getlocalelist $FILE $NONUS_FILES_LIST
+ sed_script=$sed_script"-e \"s@#"$FILE"_NonUSLocales#@$localelist@g\" "
+ nonusall=$nonusall" "$localelist
done
-euroall=`(for LOC in $euroall; do echo $LOC;done) |$SORT -u`
-noneuroall=`(for LOC in $noneuroall; do echo $LOC;done) |$SORT -u`
+usall=`(for LOC in $usall; do echo $LOC;done) |$SORT -u`
+nonusall=`(for LOC in $nonusall; do echo $LOC;done) |$SORT -u`
-sed_script=$sed_script"-e \"s@#AvailableLocales_EuroLocales#@$euroall@g\" "
-sed_script=$sed_script"-e \"s@#AvailableLocales_NonEuroLocales#@$noneuroall@g\" "
+sed_script=$sed_script"-e \"s@#AvailableLocales_USLocales#@$usall@g\" "
+sed_script=$sed_script"-e \"s@#AvailableLocales_NonUSLocales#@$nonusall@g\" "
sed_script=$sed_script"$INPUT_FILE > $OUTPUT_FILE"
eval $sed_script
--- a/jdk/make/java/text/base/FILES_java.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/java/text/base/FILES_java.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -103,150 +103,7 @@
sun/text/resources/BreakIteratorInfo.java \
\
sun/text/resources/CollationData.java \
- sun/text/resources/be/CollationData_be.java \
- sun/text/resources/bg/CollationData_bg.java \
- sun/text/resources/ca/CollationData_ca.java \
- sun/text/resources/cs/CollationData_cs.java \
- sun/text/resources/da/CollationData_da.java \
- sun/text/resources/el/CollationData_el.java \
- sun/text/resources/es/CollationData_es.java \
- sun/text/resources/et/CollationData_et.java \
- sun/text/resources/fi/CollationData_fi.java \
- sun/text/resources/fr/CollationData_fr.java \
- sun/text/resources/hr/CollationData_hr.java \
- sun/text/resources/hu/CollationData_hu.java \
- sun/text/resources/is/CollationData_is.java \
- sun/text/resources/lt/CollationData_lt.java \
- sun/text/resources/lv/CollationData_lv.java \
- sun/text/resources/mk/CollationData_mk.java \
- sun/text/resources/no/CollationData_no.java \
- sun/text/resources/pl/CollationData_pl.java \
- sun/text/resources/ro/CollationData_ro.java \
- sun/text/resources/ru/CollationData_ru.java \
- sun/text/resources/sk/CollationData_sk.java \
- sun/text/resources/sl/CollationData_sl.java \
- sun/text/resources/sq/CollationData_sq.java \
- sun/text/resources/sr/CollationData_sr.java \
- sun/text/resources/sr/CollationData_sr_Latn.java \
- sun/text/resources/sv/CollationData_sv.java \
- sun/text/resources/tr/CollationData_tr.java \
- sun/text/resources/uk/CollationData_uk.java \
\
sun/text/resources/FormatData.java \
- sun/text/resources/be/FormatData_be.java \
- sun/text/resources/be/FormatData_be_BY.java \
- sun/text/resources/bg/FormatData_bg.java \
- sun/text/resources/bg/FormatData_bg_BG.java \
- sun/text/resources/ca/FormatData_ca.java \
- sun/text/resources/ca/FormatData_ca_ES.java \
- sun/text/resources/cs/FormatData_cs.java \
- sun/text/resources/cs/FormatData_cs_CZ.java \
- sun/text/resources/da/FormatData_da.java \
- sun/text/resources/da/FormatData_da_DK.java \
- sun/text/resources/de/FormatData_de.java \
- sun/text/resources/de/FormatData_de_AT.java \
- sun/text/resources/de/FormatData_de_CH.java \
- sun/text/resources/de/FormatData_de_DE.java \
- sun/text/resources/de/FormatData_de_LU.java \
- sun/text/resources/el/FormatData_el.java \
- sun/text/resources/el/FormatData_el_CY.java \
- sun/text/resources/el/FormatData_el_GR.java \
sun/text/resources/en/FormatData_en.java \
- sun/text/resources/en/FormatData_en_US.java \
- sun/text/resources/en/FormatData_en_AU.java \
- sun/text/resources/en/FormatData_en_CA.java \
- sun/text/resources/en/FormatData_en_GB.java \
- sun/text/resources/en/FormatData_en_IE.java \
- sun/text/resources/en/FormatData_en_IN.java \
- sun/text/resources/en/FormatData_en_MT.java \
- sun/text/resources/en/FormatData_en_NZ.java \
- sun/text/resources/en/FormatData_en_PH.java \
- sun/text/resources/en/FormatData_en_SG.java \
- sun/text/resources/en/FormatData_en_ZA.java \
- sun/text/resources/es/FormatData_es.java \
- sun/text/resources/es/FormatData_es_BO.java \
- sun/text/resources/es/FormatData_es_AR.java \
- sun/text/resources/es/FormatData_es_CL.java \
- sun/text/resources/es/FormatData_es_CO.java \
- sun/text/resources/es/FormatData_es_CR.java \
- sun/text/resources/es/FormatData_es_DO.java \
- sun/text/resources/es/FormatData_es_EC.java \
- sun/text/resources/es/FormatData_es_ES.java \
- sun/text/resources/es/FormatData_es_GT.java \
- sun/text/resources/es/FormatData_es_HN.java \
- sun/text/resources/es/FormatData_es_MX.java \
- sun/text/resources/es/FormatData_es_NI.java \
- sun/text/resources/es/FormatData_es_PA.java \
- sun/text/resources/es/FormatData_es_PE.java \
- sun/text/resources/es/FormatData_es_PR.java \
- sun/text/resources/es/FormatData_es_PY.java \
- sun/text/resources/es/FormatData_es_SV.java \
- sun/text/resources/es/FormatData_es_US.java \
- sun/text/resources/es/FormatData_es_UY.java \
- sun/text/resources/es/FormatData_es_VE.java \
- sun/text/resources/et/FormatData_et.java \
- sun/text/resources/et/FormatData_et_EE.java \
- sun/text/resources/fi/FormatData_fi.java \
- sun/text/resources/fi/FormatData_fi_FI.java \
- sun/text/resources/fr/FormatData_fr.java \
- sun/text/resources/fr/FormatData_fr_BE.java \
- sun/text/resources/fr/FormatData_fr_CA.java \
- sun/text/resources/fr/FormatData_fr_CH.java \
- sun/text/resources/fr/FormatData_fr_FR.java \
- sun/text/resources/ga/FormatData_ga.java \
- sun/text/resources/ga/FormatData_ga_IE.java \
- sun/text/resources/hr/FormatData_hr.java \
- sun/text/resources/hr/FormatData_hr_HR.java \
- sun/text/resources/hu/FormatData_hu.java \
- sun/text/resources/hu/FormatData_hu_HU.java \
- sun/text/resources/in/FormatData_in.java \
- sun/text/resources/in/FormatData_in_ID.java \
- sun/text/resources/is/FormatData_is.java \
- sun/text/resources/is/FormatData_is_IS.java \
- sun/text/resources/it/FormatData_it.java \
- sun/text/resources/it/FormatData_it_CH.java \
- sun/text/resources/it/FormatData_it_IT.java \
- sun/text/resources/lt/FormatData_lt.java \
- sun/text/resources/lt/FormatData_lt_LT.java \
- sun/text/resources/lv/FormatData_lv.java \
- sun/text/resources/lv/FormatData_lv_LV.java \
- sun/text/resources/mk/FormatData_mk.java \
- sun/text/resources/mk/FormatData_mk_MK.java \
- sun/text/resources/ms/FormatData_ms.java \
- sun/text/resources/ms/FormatData_ms_MY.java \
- sun/text/resources/mt/FormatData_mt.java \
- sun/text/resources/mt/FormatData_mt_MT.java \
- sun/text/resources/nl/FormatData_nl.java \
- sun/text/resources/nl/FormatData_nl_BE.java \
- sun/text/resources/nl/FormatData_nl_NL.java \
- sun/text/resources/no/FormatData_no.java \
- sun/text/resources/no/FormatData_no_NO.java \
- sun/text/resources/no/FormatData_no_NO_NY.java \
- sun/text/resources/pl/FormatData_pl.java \
- sun/text/resources/pl/FormatData_pl_PL.java \
- sun/text/resources/pt/FormatData_pt.java \
- sun/text/resources/pt/FormatData_pt_BR.java \
- sun/text/resources/pt/FormatData_pt_PT.java \
- sun/text/resources/ro/FormatData_ro.java \
- sun/text/resources/ro/FormatData_ro_RO.java \
- sun/text/resources/ru/FormatData_ru.java \
- sun/text/resources/ru/FormatData_ru_RU.java \
- sun/text/resources/sk/FormatData_sk.java \
- sun/text/resources/sk/FormatData_sk_SK.java \
- sun/text/resources/sl/FormatData_sl.java \
- sun/text/resources/sl/FormatData_sl_SI.java \
- sun/text/resources/sq/FormatData_sq.java \
- sun/text/resources/sq/FormatData_sq_AL.java \
- sun/text/resources/sr/FormatData_sr.java \
- sun/text/resources/sr/FormatData_sr_BA.java \
- sun/text/resources/sr/FormatData_sr_CS.java \
- sun/text/resources/sr/FormatData_sr_ME.java \
- sun/text/resources/sr/FormatData_sr_RS.java \
- sun/text/resources/sr/FormatData_sr_Latn.java \
- sun/text/resources/sr/FormatData_sr_Latn_ME.java \
- sun/text/resources/sv/FormatData_sv.java \
- sun/text/resources/sv/FormatData_sv_SE.java \
- sun/text/resources/tr/FormatData_tr.java \
- sun/text/resources/tr/FormatData_tr_TR.java \
- sun/text/resources/uk/FormatData_uk.java \
- sun/text/resources/uk/FormatData_uk_UA.java
+ sun/text/resources/en/FormatData_en_US.java
--- a/jdk/make/java/util/FILES_java.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/java/util/FILES_java.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -29,13 +29,4 @@
sun/util/resources/LocaleNamesBundle.java \
sun/util/resources/TimeZoneNamesBundle.java \
sun/util/resources/TimeZoneNames.java \
- sun/util/resources/de/TimeZoneNames_de.java \
- sun/util/resources/en/TimeZoneNames_en.java \
- sun/util/resources/en/TimeZoneNames_en_CA.java \
- sun/util/resources/en/TimeZoneNames_en_GB.java \
- sun/util/resources/en/TimeZoneNames_en_IE.java \
- sun/util/resources/es/TimeZoneNames_es.java \
- sun/util/resources/fr/TimeZoneNames_fr.java \
- sun/util/resources/it/TimeZoneNames_it.java \
- sun/util/resources/pt/TimeZoneNames_pt_BR.java \
- sun/util/resources/sv/TimeZoneNames_sv.java
+ sun/util/resources/en/TimeZoneNames_en.java
--- a/jdk/make/java/util/FILES_properties.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/java/util/FILES_properties.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -25,189 +25,10 @@
FILES_compiled_properties = \
sun/util/resources/LocaleNames.properties \
- sun/util/resources/be/LocaleNames_be.properties \
- sun/util/resources/bg/LocaleNames_bg.properties \
- sun/util/resources/ca/LocaleNames_ca.properties \
- sun/util/resources/cs/LocaleNames_cs.properties \
- sun/util/resources/da/LocaleNames_da.properties \
- sun/util/resources/de/LocaleNames_de.properties \
- sun/util/resources/el/LocaleNames_el.properties \
- sun/util/resources/el/LocaleNames_el_CY.properties \
sun/util/resources/en/LocaleNames_en.properties \
- sun/util/resources/en/LocaleNames_en_MT.properties \
- sun/util/resources/en/LocaleNames_en_PH.properties \
- sun/util/resources/en/LocaleNames_en_SG.properties \
- sun/util/resources/es/LocaleNames_es.properties \
- sun/util/resources/es/LocaleNames_es_US.properties \
- sun/util/resources/et/LocaleNames_et.properties \
- sun/util/resources/fi/LocaleNames_fi.properties \
- sun/util/resources/fr/LocaleNames_fr.properties \
- sun/util/resources/ga/LocaleNames_ga.properties \
- sun/util/resources/hr/LocaleNames_hr.properties \
- sun/util/resources/hu/LocaleNames_hu.properties \
- sun/util/resources/in/LocaleNames_in.properties \
- sun/util/resources/is/LocaleNames_is.properties \
- sun/util/resources/it/LocaleNames_it.properties \
- sun/util/resources/lt/LocaleNames_lt.properties \
- sun/util/resources/lv/LocaleNames_lv.properties \
- sun/util/resources/mk/LocaleNames_mk.properties \
- sun/util/resources/ms/LocaleNames_ms.properties \
- sun/util/resources/mt/LocaleNames_mt.properties \
- sun/util/resources/nl/LocaleNames_nl.properties \
- sun/util/resources/no/LocaleNames_no.properties \
- sun/util/resources/no/LocaleNames_no_NO_NY.properties \
- sun/util/resources/pl/LocaleNames_pl.properties \
- sun/util/resources/pt/LocaleNames_pt.properties \
- sun/util/resources/pt/LocaleNames_pt_BR.properties \
- sun/util/resources/pt/LocaleNames_pt_PT.properties \
- sun/util/resources/ro/LocaleNames_ro.properties \
- sun/util/resources/ru/LocaleNames_ru.properties \
- sun/util/resources/sk/LocaleNames_sk.properties \
- sun/util/resources/sl/LocaleNames_sl.properties \
- sun/util/resources/sq/LocaleNames_sq.properties \
- sun/util/resources/sr/LocaleNames_sr.properties \
- sun/util/resources/sr/LocaleNames_sr_Latn.properties \
- sun/util/resources/sv/LocaleNames_sv.properties \
- sun/util/resources/tr/LocaleNames_tr.properties \
- sun/util/resources/uk/LocaleNames_uk.properties \
\
sun/util/resources/CalendarData.properties \
- sun/util/resources/be/CalendarData_be.properties \
- sun/util/resources/bg/CalendarData_bg.properties \
- sun/util/resources/ca/CalendarData_ca.properties \
- sun/util/resources/cs/CalendarData_cs.properties \
- sun/util/resources/da/CalendarData_da.properties \
- sun/util/resources/de/CalendarData_de.properties \
- sun/util/resources/el/CalendarData_el.properties \
- sun/util/resources/el/CalendarData_el_CY.properties \
sun/util/resources/en/CalendarData_en.properties \
- sun/util/resources/en/CalendarData_en_GB.properties \
- sun/util/resources/en/CalendarData_en_IE.properties \
- sun/util/resources/en/CalendarData_en_MT.properties \
- sun/util/resources/es/CalendarData_es.properties \
- sun/util/resources/es/CalendarData_es_ES.properties \
- sun/util/resources/es/CalendarData_es_US.properties \
- sun/util/resources/et/CalendarData_et.properties \
- sun/util/resources/fi/CalendarData_fi.properties \
- sun/util/resources/fr/CalendarData_fr.properties \
- sun/util/resources/fr/CalendarData_fr_CA.properties \
- sun/util/resources/hr/CalendarData_hr.properties \
- sun/util/resources/hu/CalendarData_hu.properties \
- sun/util/resources/in/CalendarData_in_ID.properties \
- sun/util/resources/is/CalendarData_is.properties \
- sun/util/resources/it/CalendarData_it.properties \
- sun/util/resources/lt/CalendarData_lt.properties \
- sun/util/resources/lv/CalendarData_lv.properties \
- sun/util/resources/mk/CalendarData_mk.properties \
- sun/util/resources/ms/CalendarData_ms_MY.properties \
- sun/util/resources/mt/CalendarData_mt.properties \
- sun/util/resources/mt/CalendarData_mt_MT.properties \
- sun/util/resources/nl/CalendarData_nl.properties \
- sun/util/resources/no/CalendarData_no.properties \
- sun/util/resources/pl/CalendarData_pl.properties \
- sun/util/resources/pt/CalendarData_pt.properties \
- sun/util/resources/pt/CalendarData_pt_PT.properties \
- sun/util/resources/ro/CalendarData_ro.properties \
- sun/util/resources/ru/CalendarData_ru.properties \
- sun/util/resources/sk/CalendarData_sk.properties \
- sun/util/resources/sl/CalendarData_sl.properties \
- sun/util/resources/sq/CalendarData_sq.properties \
- sun/util/resources/sr/CalendarData_sr.properties \
- sun/util/resources/sr/CalendarData_sr_Latn_BA.properties \
- sun/util/resources/sr/CalendarData_sr_Latn_ME.properties \
- sun/util/resources/sr/CalendarData_sr_Latn_RS.properties \
- sun/util/resources/sv/CalendarData_sv.properties \
- sun/util/resources/tr/CalendarData_tr.properties \
- sun/util/resources/uk/CalendarData_uk.properties \
\
sun/util/resources/CurrencyNames.properties \
- sun/util/resources/be/CurrencyNames_be_BY.properties \
- sun/util/resources/bg/CurrencyNames_bg_BG.properties \
- sun/util/resources/ca/CurrencyNames_ca_ES.properties \
- sun/util/resources/cs/CurrencyNames_cs_CZ.properties \
- sun/util/resources/da/CurrencyNames_da_DK.properties \
- sun/util/resources/de/CurrencyNames_de.properties \
- sun/util/resources/de/CurrencyNames_de_AT.properties \
- sun/util/resources/de/CurrencyNames_de_CH.properties \
- sun/util/resources/de/CurrencyNames_de_DE.properties \
- sun/util/resources/de/CurrencyNames_de_GR.properties \
- sun/util/resources/de/CurrencyNames_de_LU.properties \
- sun/util/resources/el/CurrencyNames_el_CY.properties \
- sun/util/resources/el/CurrencyNames_el_GR.properties \
- sun/util/resources/en/CurrencyNames_en_AU.properties \
- sun/util/resources/en/CurrencyNames_en_CA.properties \
- sun/util/resources/en/CurrencyNames_en_GB.properties \
- sun/util/resources/en/CurrencyNames_en_IE.properties \
- sun/util/resources/en/CurrencyNames_en_IN.properties \
- sun/util/resources/en/CurrencyNames_en_MT.properties \
- sun/util/resources/en/CurrencyNames_en_NZ.properties \
- sun/util/resources/en/CurrencyNames_en_PH.properties \
- sun/util/resources/en/CurrencyNames_en_SG.properties \
- sun/util/resources/en/CurrencyNames_en_US.properties \
- sun/util/resources/en/CurrencyNames_en_ZA.properties \
- sun/util/resources/es/CurrencyNames_es.properties \
- sun/util/resources/es/CurrencyNames_es_AR.properties \
- sun/util/resources/es/CurrencyNames_es_BO.properties \
- sun/util/resources/es/CurrencyNames_es_CL.properties \
- sun/util/resources/es/CurrencyNames_es_CO.properties \
- sun/util/resources/es/CurrencyNames_es_CR.properties \
- sun/util/resources/es/CurrencyNames_es_CU.properties \
- sun/util/resources/es/CurrencyNames_es_DO.properties \
- sun/util/resources/es/CurrencyNames_es_EC.properties \
- sun/util/resources/es/CurrencyNames_es_ES.properties \
- sun/util/resources/es/CurrencyNames_es_GT.properties \
- sun/util/resources/es/CurrencyNames_es_HN.properties \
- sun/util/resources/es/CurrencyNames_es_MX.properties \
- sun/util/resources/es/CurrencyNames_es_NI.properties \
- sun/util/resources/es/CurrencyNames_es_PA.properties \
- sun/util/resources/es/CurrencyNames_es_PE.properties \
- sun/util/resources/es/CurrencyNames_es_PR.properties \
- sun/util/resources/es/CurrencyNames_es_PY.properties \
- sun/util/resources/es/CurrencyNames_es_SV.properties \
- sun/util/resources/es/CurrencyNames_es_US.properties \
- sun/util/resources/es/CurrencyNames_es_UY.properties \
- sun/util/resources/es/CurrencyNames_es_VE.properties \
- sun/util/resources/et/CurrencyNames_et_EE.properties \
- sun/util/resources/fi/CurrencyNames_fi_FI.properties \
- sun/util/resources/fr/CurrencyNames_fr.properties \
- sun/util/resources/fr/CurrencyNames_fr_BE.properties \
- sun/util/resources/fr/CurrencyNames_fr_CA.properties \
- sun/util/resources/fr/CurrencyNames_fr_CH.properties \
- sun/util/resources/fr/CurrencyNames_fr_FR.properties \
- sun/util/resources/fr/CurrencyNames_fr_LU.properties \
- sun/util/resources/ga/CurrencyNames_ga_IE.properties \
- sun/util/resources/hr/CurrencyNames_hr_HR.properties \
- sun/util/resources/hu/CurrencyNames_hu_HU.properties \
- sun/util/resources/in/CurrencyNames_in_ID.properties \
- sun/util/resources/is/CurrencyNames_is_IS.properties \
- sun/util/resources/it/CurrencyNames_it.properties \
- sun/util/resources/it/CurrencyNames_it_CH.properties \
- sun/util/resources/it/CurrencyNames_it_IT.properties \
- sun/util/resources/lt/CurrencyNames_lt_LT.properties \
- sun/util/resources/lv/CurrencyNames_lv_LV.properties \
- sun/util/resources/mk/CurrencyNames_mk_MK.properties \
- sun/util/resources/ms/CurrencyNames_ms_MY.properties \
- sun/util/resources/mt/CurrencyNames_mt_MT.properties \
- sun/util/resources/nl/CurrencyNames_nl_BE.properties \
- sun/util/resources/nl/CurrencyNames_nl_NL.properties \
- sun/util/resources/no/CurrencyNames_no_NO.properties \
- sun/util/resources/pl/CurrencyNames_pl_PL.properties \
- sun/util/resources/pt/CurrencyNames_pt.properties \
- sun/util/resources/pt/CurrencyNames_pt_BR.properties \
- sun/util/resources/pt/CurrencyNames_pt_PT.properties \
- sun/util/resources/ro/CurrencyNames_ro_RO.properties \
- sun/util/resources/ru/CurrencyNames_ru_RU.properties \
- sun/util/resources/sk/CurrencyNames_sk_SK.properties \
- sun/util/resources/sl/CurrencyNames_sl_SI.properties \
- sun/util/resources/sq/CurrencyNames_sq_AL.properties \
- sun/util/resources/sr/CurrencyNames_sr_BA.properties \
- sun/util/resources/sr/CurrencyNames_sr_CS.properties \
- sun/util/resources/sr/CurrencyNames_sr_ME.properties \
- sun/util/resources/sr/CurrencyNames_sr_RS.properties \
- sun/util/resources/sr/CurrencyNames_sr_Latn_BA.properties \
- sun/util/resources/sr/CurrencyNames_sr_Latn_ME.properties \
- sun/util/resources/sr/CurrencyNames_sr_Latn_RS.properties \
- sun/util/resources/sv/CurrencyNames_sv.properties \
- sun/util/resources/sv/CurrencyNames_sv_SE.properties \
- sun/util/resources/tr/CurrencyNames_tr_TR.properties \
- sun/util/resources/uk/CurrencyNames_uk_UA.properties
+ sun/util/resources/en/CurrencyNames_en_US.properties
--- a/jdk/make/sun/text/FILES_java.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/sun/text/FILES_java.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -24,10 +24,10 @@
#
# Locale data files for lib/ext/localedata.jar.
-# This includes resource bundles and data for non-European
+# This includes resource bundles and data for non-US
# languages in sun.text.resources as well as sun.util.resources.
#
-# Locale data for European languages is built from
+# Locale data for US languages is built from
# - make/java/text for classes in sun.text.resources
# - make/java/util for classes in sun.util.resources
#
@@ -36,11 +36,39 @@
sun/text/resources/th/BreakIteratorInfo_th.java \
\
sun/text/resources/ar/CollationData_ar.java \
+ sun/text/resources/be/CollationData_be.java \
+ sun/text/resources/bg/CollationData_bg.java \
+ sun/text/resources/ca/CollationData_ca.java \
+ sun/text/resources/cs/CollationData_cs.java \
+ sun/text/resources/da/CollationData_da.java \
+ sun/text/resources/el/CollationData_el.java \
+ sun/text/resources/es/CollationData_es.java \
+ sun/text/resources/et/CollationData_et.java \
+ sun/text/resources/fi/CollationData_fi.java \
+ sun/text/resources/fr/CollationData_fr.java \
sun/text/resources/hi/CollationData_hi.java \
+ sun/text/resources/hr/CollationData_hr.java \
+ sun/text/resources/hu/CollationData_hu.java \
+ sun/text/resources/is/CollationData_is.java \
sun/text/resources/iw/CollationData_iw.java \
sun/text/resources/ja/CollationData_ja.java \
sun/text/resources/ko/CollationData_ko.java \
+ sun/text/resources/lt/CollationData_lt.java \
+ sun/text/resources/lv/CollationData_lv.java \
+ sun/text/resources/mk/CollationData_mk.java \
+ sun/text/resources/no/CollationData_no.java \
+ sun/text/resources/pl/CollationData_pl.java \
+ sun/text/resources/ro/CollationData_ro.java \
+ sun/text/resources/ru/CollationData_ru.java \
+ sun/text/resources/sk/CollationData_sk.java \
+ sun/text/resources/sl/CollationData_sl.java \
+ sun/text/resources/sq/CollationData_sq.java \
+ sun/text/resources/sr/CollationData_sr.java \
+ sun/text/resources/sr/CollationData_sr_Latn.java \
+ sun/text/resources/sv/CollationData_sv.java \
sun/text/resources/th/CollationData_th.java \
+ sun/text/resources/tr/CollationData_tr.java \
+ sun/text/resources/uk/CollationData_uk.java \
sun/text/resources/vi/CollationData_vi.java \
sun/text/resources/zh/CollationData_zh.java \
sun/text/resources/zh/CollationData_zh_HK.java \
@@ -50,15 +78,130 @@
sun/text/resources/ar/FormatData_ar_JO.java \
sun/text/resources/ar/FormatData_ar_LB.java \
sun/text/resources/ar/FormatData_ar_SY.java \
+ sun/text/resources/be/FormatData_be.java \
+ sun/text/resources/be/FormatData_be_BY.java \
+ sun/text/resources/bg/FormatData_bg.java \
+ sun/text/resources/bg/FormatData_bg_BG.java \
+ sun/text/resources/ca/FormatData_ca.java \
+ sun/text/resources/ca/FormatData_ca_ES.java \
+ sun/text/resources/cs/FormatData_cs.java \
+ sun/text/resources/cs/FormatData_cs_CZ.java \
+ sun/text/resources/da/FormatData_da.java \
+ sun/text/resources/da/FormatData_da_DK.java \
+ sun/text/resources/de/FormatData_de.java \
+ sun/text/resources/de/FormatData_de_AT.java \
+ sun/text/resources/de/FormatData_de_CH.java \
+ sun/text/resources/de/FormatData_de_DE.java \
+ sun/text/resources/de/FormatData_de_LU.java \
+ sun/text/resources/el/FormatData_el.java \
+ sun/text/resources/el/FormatData_el_CY.java \
+ sun/text/resources/el/FormatData_el_GR.java \
+ sun/text/resources/en/FormatData_en_AU.java \
+ sun/text/resources/en/FormatData_en_CA.java \
+ sun/text/resources/en/FormatData_en_GB.java \
+ sun/text/resources/en/FormatData_en_IE.java \
+ sun/text/resources/en/FormatData_en_IN.java \
+ sun/text/resources/en/FormatData_en_MT.java \
+ sun/text/resources/en/FormatData_en_NZ.java \
+ sun/text/resources/en/FormatData_en_PH.java \
+ sun/text/resources/en/FormatData_en_SG.java \
+ sun/text/resources/en/FormatData_en_ZA.java \
+ sun/text/resources/es/FormatData_es.java \
+ sun/text/resources/es/FormatData_es_BO.java \
+ sun/text/resources/es/FormatData_es_AR.java \
+ sun/text/resources/es/FormatData_es_CL.java \
+ sun/text/resources/es/FormatData_es_CO.java \
+ sun/text/resources/es/FormatData_es_CR.java \
+ sun/text/resources/es/FormatData_es_DO.java \
+ sun/text/resources/es/FormatData_es_EC.java \
+ sun/text/resources/es/FormatData_es_ES.java \
+ sun/text/resources/es/FormatData_es_GT.java \
+ sun/text/resources/es/FormatData_es_HN.java \
+ sun/text/resources/es/FormatData_es_MX.java \
+ sun/text/resources/es/FormatData_es_NI.java \
+ sun/text/resources/es/FormatData_es_PA.java \
+ sun/text/resources/es/FormatData_es_PE.java \
+ sun/text/resources/es/FormatData_es_PR.java \
+ sun/text/resources/es/FormatData_es_PY.java \
+ sun/text/resources/es/FormatData_es_SV.java \
+ sun/text/resources/es/FormatData_es_US.java \
+ sun/text/resources/es/FormatData_es_UY.java \
+ sun/text/resources/es/FormatData_es_VE.java \
+ sun/text/resources/et/FormatData_et.java \
+ sun/text/resources/et/FormatData_et_EE.java \
+ sun/text/resources/fi/FormatData_fi.java \
+ sun/text/resources/fi/FormatData_fi_FI.java \
+ sun/text/resources/fr/FormatData_fr.java \
+ sun/text/resources/fr/FormatData_fr_BE.java \
+ sun/text/resources/fr/FormatData_fr_CA.java \
+ sun/text/resources/fr/FormatData_fr_CH.java \
+ sun/text/resources/fr/FormatData_fr_FR.java \
+ sun/text/resources/ga/FormatData_ga.java \
+ sun/text/resources/ga/FormatData_ga_IE.java \
sun/text/resources/hi/FormatData_hi_IN.java \
+ sun/text/resources/hr/FormatData_hr.java \
+ sun/text/resources/hr/FormatData_hr_HR.java \
+ sun/text/resources/hu/FormatData_hu.java \
+ sun/text/resources/hu/FormatData_hu_HU.java \
+ sun/text/resources/in/FormatData_in.java \
+ sun/text/resources/in/FormatData_in_ID.java \
+ sun/text/resources/is/FormatData_is.java \
+ sun/text/resources/is/FormatData_is_IS.java \
+ sun/text/resources/it/FormatData_it.java \
+ sun/text/resources/it/FormatData_it_CH.java \
+ sun/text/resources/it/FormatData_it_IT.java \
sun/text/resources/iw/FormatData_iw.java \
sun/text/resources/iw/FormatData_iw_IL.java \
sun/text/resources/ja/FormatData_ja.java \
sun/text/resources/ja/FormatData_ja_JP.java \
sun/text/resources/ko/FormatData_ko.java \
sun/text/resources/ko/FormatData_ko_KR.java \
+ sun/text/resources/lt/FormatData_lt.java \
+ sun/text/resources/lt/FormatData_lt_LT.java \
+ sun/text/resources/lv/FormatData_lv.java \
+ sun/text/resources/lv/FormatData_lv_LV.java \
+ sun/text/resources/mk/FormatData_mk.java \
+ sun/text/resources/mk/FormatData_mk_MK.java \
+ sun/text/resources/ms/FormatData_ms.java \
+ sun/text/resources/ms/FormatData_ms_MY.java \
+ sun/text/resources/mt/FormatData_mt.java \
+ sun/text/resources/mt/FormatData_mt_MT.java \
+ sun/text/resources/nl/FormatData_nl.java \
+ sun/text/resources/nl/FormatData_nl_BE.java \
+ sun/text/resources/nl/FormatData_nl_NL.java \
+ sun/text/resources/no/FormatData_no.java \
+ sun/text/resources/no/FormatData_no_NO.java \
+ sun/text/resources/no/FormatData_no_NO_NY.java \
+ sun/text/resources/pl/FormatData_pl.java \
+ sun/text/resources/pl/FormatData_pl_PL.java \
+ sun/text/resources/pt/FormatData_pt.java \
+ sun/text/resources/pt/FormatData_pt_BR.java \
+ sun/text/resources/pt/FormatData_pt_PT.java \
+ sun/text/resources/ro/FormatData_ro.java \
+ sun/text/resources/ro/FormatData_ro_RO.java \
+ sun/text/resources/ru/FormatData_ru.java \
+ sun/text/resources/ru/FormatData_ru_RU.java \
+ sun/text/resources/sk/FormatData_sk.java \
+ sun/text/resources/sk/FormatData_sk_SK.java \
+ sun/text/resources/sl/FormatData_sl.java \
+ sun/text/resources/sl/FormatData_sl_SI.java \
+ sun/text/resources/sq/FormatData_sq.java \
+ sun/text/resources/sq/FormatData_sq_AL.java \
+ sun/text/resources/sr/FormatData_sr.java \
+ sun/text/resources/sr/FormatData_sr_BA.java \
+ sun/text/resources/sr/FormatData_sr_CS.java \
+ sun/text/resources/sr/FormatData_sr_ME.java \
+ sun/text/resources/sr/FormatData_sr_RS.java \
+ sun/text/resources/sr/FormatData_sr_Latn.java \
+ sun/text/resources/sr/FormatData_sr_Latn_ME.java \
+ sun/text/resources/sv/FormatData_sv.java \
+ sun/text/resources/sv/FormatData_sv_SE.java \
sun/text/resources/th/FormatData_th.java \
sun/text/resources/th/FormatData_th_TH.java \
+ sun/text/resources/tr/FormatData_tr.java \
+ sun/text/resources/tr/FormatData_tr_TR.java \
+ sun/text/resources/uk/FormatData_uk.java \
+ sun/text/resources/uk/FormatData_uk_UA.java \
sun/text/resources/vi/FormatData_vi.java \
sun/text/resources/vi/FormatData_vi_VN.java \
sun/text/resources/zh/FormatData_zh.java \
@@ -70,9 +213,18 @@
sun/util/resources/zh/CurrencyNames_zh_HK.java \
sun/util/resources/zh/CurrencyNames_zh_SG.java \
sun/util/resources/zh/LocaleNames_zh_HK.java \
+ sun/util/resources/de/TimeZoneNames_de.java \
+ sun/util/resources/en/TimeZoneNames_en_CA.java \
+ sun/util/resources/en/TimeZoneNames_en_GB.java \
+ sun/util/resources/en/TimeZoneNames_en_IE.java \
+ sun/util/resources/es/TimeZoneNames_es.java \
+ sun/util/resources/fr/TimeZoneNames_fr.java \
sun/util/resources/hi/TimeZoneNames_hi.java \
+ sun/util/resources/it/TimeZoneNames_it.java \
sun/util/resources/ja/TimeZoneNames_ja.java \
sun/util/resources/ko/TimeZoneNames_ko.java \
+ sun/util/resources/pt/TimeZoneNames_pt_BR.java \
+ sun/util/resources/sv/TimeZoneNames_sv.java \
sun/util/resources/zh/TimeZoneNames_zh_CN.java \
sun/util/resources/zh/TimeZoneNames_zh_TW.java \
sun/util/resources/zh/TimeZoneNames_zh_HK.java
--- a/jdk/make/sun/text/FILES_properties.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/make/sun/text/FILES_properties.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -25,22 +25,112 @@
FILES_compiled_properties = \
sun/util/resources/ar/LocaleNames_ar.properties \
+ sun/util/resources/be/LocaleNames_be.properties \
+ sun/util/resources/bg/LocaleNames_bg.properties \
+ sun/util/resources/ca/LocaleNames_ca.properties \
+ sun/util/resources/cs/LocaleNames_cs.properties \
+ sun/util/resources/da/LocaleNames_da.properties \
+ sun/util/resources/de/LocaleNames_de.properties \
+ sun/util/resources/el/LocaleNames_el.properties \
+ sun/util/resources/el/LocaleNames_el_CY.properties \
+ sun/util/resources/en/LocaleNames_en_MT.properties \
+ sun/util/resources/en/LocaleNames_en_PH.properties \
+ sun/util/resources/en/LocaleNames_en_SG.properties \
+ sun/util/resources/es/LocaleNames_es.properties \
+ sun/util/resources/es/LocaleNames_es_US.properties \
+ sun/util/resources/et/LocaleNames_et.properties \
+ sun/util/resources/fi/LocaleNames_fi.properties \
+ sun/util/resources/fr/LocaleNames_fr.properties \
+ sun/util/resources/ga/LocaleNames_ga.properties \
sun/util/resources/hi/LocaleNames_hi.properties \
+ sun/util/resources/hr/LocaleNames_hr.properties \
+ sun/util/resources/hu/LocaleNames_hu.properties \
+ sun/util/resources/in/LocaleNames_in.properties \
+ sun/util/resources/is/LocaleNames_is.properties \
+ sun/util/resources/it/LocaleNames_it.properties \
sun/util/resources/iw/LocaleNames_iw.properties \
sun/util/resources/ja/LocaleNames_ja.properties \
sun/util/resources/ko/LocaleNames_ko.properties \
+ sun/util/resources/lt/LocaleNames_lt.properties \
+ sun/util/resources/lv/LocaleNames_lv.properties \
+ sun/util/resources/mk/LocaleNames_mk.properties \
+ sun/util/resources/ms/LocaleNames_ms.properties \
+ sun/util/resources/mt/LocaleNames_mt.properties \
+ sun/util/resources/nl/LocaleNames_nl.properties \
+ sun/util/resources/no/LocaleNames_no.properties \
+ sun/util/resources/no/LocaleNames_no_NO_NY.properties \
+ sun/util/resources/pl/LocaleNames_pl.properties \
+ sun/util/resources/pt/LocaleNames_pt.properties \
+ sun/util/resources/pt/LocaleNames_pt_BR.properties \
+ sun/util/resources/pt/LocaleNames_pt_PT.properties \
+ sun/util/resources/ro/LocaleNames_ro.properties \
+ sun/util/resources/ru/LocaleNames_ru.properties \
+ sun/util/resources/sk/LocaleNames_sk.properties \
+ sun/util/resources/sl/LocaleNames_sl.properties \
+ sun/util/resources/sq/LocaleNames_sq.properties \
+ sun/util/resources/sr/LocaleNames_sr.properties \
+ sun/util/resources/sr/LocaleNames_sr_Latn.properties \
+ sun/util/resources/sv/LocaleNames_sv.properties \
sun/util/resources/th/LocaleNames_th.properties \
+ sun/util/resources/tr/LocaleNames_tr.properties \
+ sun/util/resources/uk/LocaleNames_uk.properties \
sun/util/resources/vi/LocaleNames_vi.properties \
sun/util/resources/zh/LocaleNames_zh.properties \
sun/util/resources/zh/LocaleNames_zh_SG.properties \
sun/util/resources/zh/LocaleNames_zh_TW.properties \
\
sun/util/resources/ar/CalendarData_ar.properties \
+ sun/util/resources/be/CalendarData_be.properties \
+ sun/util/resources/bg/CalendarData_bg.properties \
+ sun/util/resources/ca/CalendarData_ca.properties \
+ sun/util/resources/cs/CalendarData_cs.properties \
+ sun/util/resources/da/CalendarData_da.properties \
+ sun/util/resources/de/CalendarData_de.properties \
+ sun/util/resources/el/CalendarData_el.properties \
+ sun/util/resources/el/CalendarData_el_CY.properties \
+ sun/util/resources/en/CalendarData_en_GB.properties \
+ sun/util/resources/en/CalendarData_en_IE.properties \
+ sun/util/resources/en/CalendarData_en_MT.properties \
+ sun/util/resources/es/CalendarData_es.properties \
+ sun/util/resources/es/CalendarData_es_ES.properties \
+ sun/util/resources/es/CalendarData_es_US.properties \
+ sun/util/resources/et/CalendarData_et.properties \
+ sun/util/resources/fi/CalendarData_fi.properties \
+ sun/util/resources/fr/CalendarData_fr.properties \
+ sun/util/resources/fr/CalendarData_fr_CA.properties \
sun/util/resources/hi/CalendarData_hi.properties \
+ sun/util/resources/hr/CalendarData_hr.properties \
+ sun/util/resources/hu/CalendarData_hu.properties \
+ sun/util/resources/in/CalendarData_in_ID.properties \
+ sun/util/resources/is/CalendarData_is.properties \
+ sun/util/resources/it/CalendarData_it.properties \
sun/util/resources/iw/CalendarData_iw.properties \
sun/util/resources/ja/CalendarData_ja.properties \
sun/util/resources/ko/CalendarData_ko.properties \
+ sun/util/resources/lt/CalendarData_lt.properties \
+ sun/util/resources/lv/CalendarData_lv.properties \
+ sun/util/resources/mk/CalendarData_mk.properties \
+ sun/util/resources/ms/CalendarData_ms_MY.properties \
+ sun/util/resources/mt/CalendarData_mt.properties \
+ sun/util/resources/mt/CalendarData_mt_MT.properties \
+ sun/util/resources/nl/CalendarData_nl.properties \
+ sun/util/resources/no/CalendarData_no.properties \
+ sun/util/resources/pl/CalendarData_pl.properties \
+ sun/util/resources/pt/CalendarData_pt.properties \
+ sun/util/resources/pt/CalendarData_pt_PT.properties \
+ sun/util/resources/ro/CalendarData_ro.properties \
+ sun/util/resources/ru/CalendarData_ru.properties \
+ sun/util/resources/sk/CalendarData_sk.properties \
+ sun/util/resources/sl/CalendarData_sl.properties \
+ sun/util/resources/sq/CalendarData_sq.properties \
+ sun/util/resources/sr/CalendarData_sr.properties \
+ sun/util/resources/sr/CalendarData_sr_Latn_BA.properties \
+ sun/util/resources/sr/CalendarData_sr_Latn_ME.properties \
+ sun/util/resources/sr/CalendarData_sr_Latn_RS.properties \
+ sun/util/resources/sv/CalendarData_sv.properties \
sun/util/resources/th/CalendarData_th.properties \
+ sun/util/resources/tr/CalendarData_tr.properties \
+ sun/util/resources/uk/CalendarData_uk.properties \
sun/util/resources/vi/CalendarData_vi.properties \
sun/util/resources/zh/CalendarData_zh.properties \
\
@@ -61,13 +151,102 @@
sun/util/resources/ar/CurrencyNames_ar_SY.properties \
sun/util/resources/ar/CurrencyNames_ar_TN.properties \
sun/util/resources/ar/CurrencyNames_ar_YE.properties \
+ sun/util/resources/be/CurrencyNames_be_BY.properties \
+ sun/util/resources/bg/CurrencyNames_bg_BG.properties \
+ sun/util/resources/ca/CurrencyNames_ca_ES.properties \
+ sun/util/resources/cs/CurrencyNames_cs_CZ.properties \
+ sun/util/resources/da/CurrencyNames_da_DK.properties \
+ sun/util/resources/de/CurrencyNames_de.properties \
+ sun/util/resources/de/CurrencyNames_de_AT.properties \
+ sun/util/resources/de/CurrencyNames_de_CH.properties \
+ sun/util/resources/de/CurrencyNames_de_DE.properties \
+ sun/util/resources/de/CurrencyNames_de_GR.properties \
+ sun/util/resources/de/CurrencyNames_de_LU.properties \
+ sun/util/resources/el/CurrencyNames_el_CY.properties \
+ sun/util/resources/el/CurrencyNames_el_GR.properties \
+ sun/util/resources/en/CurrencyNames_en_AU.properties \
+ sun/util/resources/en/CurrencyNames_en_CA.properties \
+ sun/util/resources/en/CurrencyNames_en_GB.properties \
+ sun/util/resources/en/CurrencyNames_en_IE.properties \
+ sun/util/resources/en/CurrencyNames_en_IN.properties \
+ sun/util/resources/en/CurrencyNames_en_MT.properties \
+ sun/util/resources/en/CurrencyNames_en_NZ.properties \
+ sun/util/resources/en/CurrencyNames_en_PH.properties \
+ sun/util/resources/en/CurrencyNames_en_SG.properties \
+ sun/util/resources/en/CurrencyNames_en_ZA.properties \
+ sun/util/resources/es/CurrencyNames_es.properties \
+ sun/util/resources/es/CurrencyNames_es_AR.properties \
+ sun/util/resources/es/CurrencyNames_es_BO.properties \
+ sun/util/resources/es/CurrencyNames_es_CL.properties \
+ sun/util/resources/es/CurrencyNames_es_CO.properties \
+ sun/util/resources/es/CurrencyNames_es_CR.properties \
+ sun/util/resources/es/CurrencyNames_es_CU.properties \
+ sun/util/resources/es/CurrencyNames_es_DO.properties \
+ sun/util/resources/es/CurrencyNames_es_EC.properties \
+ sun/util/resources/es/CurrencyNames_es_ES.properties \
+ sun/util/resources/es/CurrencyNames_es_GT.properties \
+ sun/util/resources/es/CurrencyNames_es_HN.properties \
+ sun/util/resources/es/CurrencyNames_es_MX.properties \
+ sun/util/resources/es/CurrencyNames_es_NI.properties \
+ sun/util/resources/es/CurrencyNames_es_PA.properties \
+ sun/util/resources/es/CurrencyNames_es_PE.properties \
+ sun/util/resources/es/CurrencyNames_es_PR.properties \
+ sun/util/resources/es/CurrencyNames_es_PY.properties \
+ sun/util/resources/es/CurrencyNames_es_SV.properties \
+ sun/util/resources/es/CurrencyNames_es_US.properties \
+ sun/util/resources/es/CurrencyNames_es_UY.properties \
+ sun/util/resources/es/CurrencyNames_es_VE.properties \
+ sun/util/resources/et/CurrencyNames_et_EE.properties \
+ sun/util/resources/fi/CurrencyNames_fi_FI.properties \
+ sun/util/resources/fr/CurrencyNames_fr.properties \
+ sun/util/resources/fr/CurrencyNames_fr_BE.properties \
+ sun/util/resources/fr/CurrencyNames_fr_CA.properties \
+ sun/util/resources/fr/CurrencyNames_fr_CH.properties \
+ sun/util/resources/fr/CurrencyNames_fr_FR.properties \
+ sun/util/resources/fr/CurrencyNames_fr_LU.properties \
+ sun/util/resources/ga/CurrencyNames_ga_IE.properties \
sun/util/resources/hi/CurrencyNames_hi_IN.properties \
+ sun/util/resources/hr/CurrencyNames_hr_HR.properties \
+ sun/util/resources/hu/CurrencyNames_hu_HU.properties \
+ sun/util/resources/in/CurrencyNames_in_ID.properties \
+ sun/util/resources/is/CurrencyNames_is_IS.properties \
+ sun/util/resources/it/CurrencyNames_it.properties \
+ sun/util/resources/it/CurrencyNames_it_CH.properties \
+ sun/util/resources/it/CurrencyNames_it_IT.properties \
sun/util/resources/iw/CurrencyNames_iw_IL.properties \
sun/util/resources/ja/CurrencyNames_ja.properties \
sun/util/resources/ja/CurrencyNames_ja_JP.properties \
sun/util/resources/ko/CurrencyNames_ko.properties \
sun/util/resources/ko/CurrencyNames_ko_KR.properties \
+ sun/util/resources/lt/CurrencyNames_lt_LT.properties \
+ sun/util/resources/lv/CurrencyNames_lv_LV.properties \
+ sun/util/resources/mk/CurrencyNames_mk_MK.properties \
+ sun/util/resources/ms/CurrencyNames_ms_MY.properties \
+ sun/util/resources/mt/CurrencyNames_mt_MT.properties \
+ sun/util/resources/nl/CurrencyNames_nl_BE.properties \
+ sun/util/resources/nl/CurrencyNames_nl_NL.properties \
+ sun/util/resources/no/CurrencyNames_no_NO.properties \
+ sun/util/resources/pl/CurrencyNames_pl_PL.properties \
+ sun/util/resources/pt/CurrencyNames_pt.properties \
+ sun/util/resources/pt/CurrencyNames_pt_BR.properties \
+ sun/util/resources/pt/CurrencyNames_pt_PT.properties \
+ sun/util/resources/ro/CurrencyNames_ro_RO.properties \
+ sun/util/resources/ru/CurrencyNames_ru_RU.properties \
+ sun/util/resources/sk/CurrencyNames_sk_SK.properties \
+ sun/util/resources/sl/CurrencyNames_sl_SI.properties \
+ sun/util/resources/sq/CurrencyNames_sq_AL.properties \
+ sun/util/resources/sr/CurrencyNames_sr_BA.properties \
+ sun/util/resources/sr/CurrencyNames_sr_CS.properties \
+ sun/util/resources/sr/CurrencyNames_sr_ME.properties \
+ sun/util/resources/sr/CurrencyNames_sr_RS.properties \
+ sun/util/resources/sr/CurrencyNames_sr_Latn_BA.properties \
+ sun/util/resources/sr/CurrencyNames_sr_Latn_ME.properties \
+ sun/util/resources/sr/CurrencyNames_sr_Latn_RS.properties \
+ sun/util/resources/sv/CurrencyNames_sv.properties \
+ sun/util/resources/sv/CurrencyNames_sv_SE.properties \
sun/util/resources/th/CurrencyNames_th_TH.properties \
+ sun/util/resources/tr/CurrencyNames_tr_TR.properties \
+ sun/util/resources/uk/CurrencyNames_uk_UA.properties \
sun/util/resources/vi/CurrencyNames_vi_VN.properties \
sun/util/resources/zh/CurrencyNames_zh_CN.properties \
sun/util/resources/zh/CurrencyNames_zh_TW.properties
--- a/jdk/makefiles/CreateJars.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/makefiles/CreateJars.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -74,10 +74,46 @@
##########################################################################################
-LOCALEDATA_INCLUDE_LOCALES := ar hi iw ja ko th vi zh
+LOCALEDATA_INCLUDE_LOCALES := ar be bg ca cs da de el es et fi fr ga hi hr hu in is it \
+ iw ja ko lt lv mk ms mt nl no pl pt ro ru sk sl sq sr sv \
+ th tr uk vi zh
+
LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \
$(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES))
+# For non-US English locale data
+
+LOCALEDATA_INCLUDES += \
+ sun/text/resources/en/FormatData_en_AU.class \
+ sun/text/resources/en/FormatData_en_CA.class \
+ sun/text/resources/en/FormatData_en_GB.class \
+ sun/text/resources/en/FormatData_en_IE.class \
+ sun/text/resources/en/FormatData_en_IN.class \
+ sun/text/resources/en/FormatData_en_MT.class \
+ sun/text/resources/en/FormatData_en_NZ.class \
+ sun/text/resources/en/FormatData_en_PH.class \
+ sun/text/resources/en/FormatData_en_SG.class \
+ sun/text/resources/en/FormatData_en_ZA.class \
+ sun/util/resources/en/CalendarData_en_GB.class \
+ sun/util/resources/en/CalendarData_en_IE.class \
+ sun/util/resources/en/CalendarData_en_MT.class \
+ sun/util/resources/en/CurrencyNames_en_AU.class \
+ sun/util/resources/en/CurrencyNames_en_CA.class \
+ sun/util/resources/en/CurrencyNames_en_GB.class \
+ sun/util/resources/en/CurrencyNames_en_IE.class \
+ sun/util/resources/en/CurrencyNames_en_IN.class \
+ sun/util/resources/en/CurrencyNames_en_MT.class \
+ sun/util/resources/en/CurrencyNames_en_NZ.class \
+ sun/util/resources/en/CurrencyNames_en_PH.class \
+ sun/util/resources/en/CurrencyNames_en_SG.class \
+ sun/util/resources/en/CurrencyNames_en_ZA.class \
+ sun/util/resources/en/LocaleNames_en_MT.class \
+ sun/util/resources/en/LocaleNames_en_PH.class \
+ sun/util/resources/en/LocaleNames_en_SG.class \
+ sun/util/resources/en/TimeZoneNames_en_CA.class \
+ sun/util/resources/en/TimeZoneNames_en_GB.class \
+ sun/util/resources/en/TimeZoneNames_en_IE.class
+
$(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\
SRCS:=$(JDK_OUTPUTDIR)/classes,\
SUFFIXES:=.class _dict _th,\
--- a/jdk/makefiles/GensrcLocaleDataMetaInfo.gmk Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/makefiles/GensrcLocaleDataMetaInfo.gmk Wed Oct 31 11:33:36 2012 -0700
@@ -50,26 +50,26 @@
$(shell $(RM) $(JDK_OUTPUTDIR)/gensrc_localedatametainfo/sun/util/locale/provider/LocaleDataMetaInfo.java)
endif
-# The non-euro zone locales have to be separated from the euro-zone locales.
-NON_EURO_LOCALES:=ar% hi% iw% ja% ko% th% vi% zh%
+# The US locales
+US_LOCALES:=en en-US
# ja-JP-JP and th-TH-TH need to be manually added, as they don't have any resource files.
-ALL_NON_EURO_LOCALES:=ja-JP-JP th-TH-TH
+ALL_NON_US_LOCALES:=ja-JP-JP th-TH-TH
SED_ARGS:=-e 's|$(HASH)warn This file is preprocessed before being compiled|// -- This file was mechanically generated: Do not edit! -- //|g'
# This macro creates a sed expression that substitues for example:
-# #FormatData_EuroLocales# with: be be_BY bg bg_BG ca ca_ES... and some more.
+# #FormatData_USLocales# with: en and/or en_US.
define CaptureLocale
$1_LOCALES := $$(subst _,-,$$(filter-out $1,$$(subst $1_,,$$(filter $1_%,$(LOCALE_RESOURCES)))))
- $1_EURO_LOCALES := $$(filter-out $(NON_EURO_LOCALES),$$($1_LOCALES))
- $1_NON_EURO_LOCALES := $$(filter $(NON_EURO_LOCALES),$$($1_LOCALES))
+ $1_US_LOCALES := $$(filter $(US_LOCALES),$$($1_LOCALES))
+ $1_NON_US_LOCALES := $$(filter-out $(US_LOCALES),$$($1_LOCALES))
- ALL_EURO_LOCALES += $$($1_EURO_LOCALES)
- ALL_NON_EURO_LOCALES += $$($1_NON_EURO_LOCALES)
+ ALL_US_LOCALES += $$($1_US_LOCALES)
+ ALL_NON_US_LOCALES += $$($1_NON_US_LOCALES)
- SED_ARGS+= -e 's/$$(HASH)$1_EuroLocales$$(HASH)/ $$($1_EURO_LOCALES)/g'
- SED_ARGS+= -e 's/$$(HASH)$1_NonEuroLocales$$(HASH)/ $$($1_NON_EURO_LOCALES)/g'
+ SED_ARGS+= -e 's/$$(HASH)$1_USLocales$$(HASH)/ $$($1_US_LOCALES)/g'
+ SED_ARGS+= -e 's/$$(HASH)$1_NonUSLocales$$(HASH)/ $$($1_NON_US_LOCALES)/g'
endef
#sun.text.resources.FormatData
@@ -90,8 +90,8 @@
#sun.util.resources.CalendarData
$(eval $(call CaptureLocale,CalendarData))
-SED_ARGS+= -e 's/$(HASH)AvailableLocales_EuroLocales$(HASH)/$(sort $(ALL_EURO_LOCALES))/g'
-SED_ARGS+= -e 's/$(HASH)AvailableLocales_NonEuroLocales$(HASH)/$(sort $(ALL_NON_EURO_LOCALES))/g'
+SED_ARGS+= -e 's/$(HASH)AvailableLocales_USLocales$(HASH)/$(sort $(ALL_US_LOCALES))/g'
+SED_ARGS+= -e 's/$(HASH)AvailableLocales_NonUSLocales$(HASH)/$(sort $(ALL_NON_US_LOCALES))/g'
$(JDK_OUTPUTDIR)/gensrc_localedatametainfo/sun/util/locale/provider/LocaleDataMetaInfo.java: \
$(JDK_TOPDIR)/src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template
--- a/jdk/src/share/classes/sun/util/locale/provider/JRELocaleProviderAdapter.java Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/src/share/classes/sun/util/locale/provider/JRELocaleProviderAdapter.java Wed Oct 31 11:33:36 2012 -0700
@@ -321,7 +321,7 @@
while (tokens.hasMoreTokens()) {
String token = tokens.nextToken();
if (token.equals("|")) {
- if (isNonEuroLangSupported()) {
+ if (isNonUSLangSupported()) {
continue;
}
break;
@@ -361,7 +361,7 @@
*/
int barIndex = supportedLocaleString.indexOf('|');
StringTokenizer localeStringTokenizer;
- if (isNonEuroLangSupported()) {
+ if (isNonUSLangSupported()) {
localeStringTokenizer = new StringTokenizer(supportedLocaleString.substring(0, barIndex)
+ supportedLocaleString.substring(barIndex + 1));
} else {
@@ -390,17 +390,17 @@
return locales;
}
- private static volatile Boolean isNonEuroSupported = null;
+ private static volatile Boolean isNonUSSupported = null;
/*
- * Returns true if the non European resources jar file exists in jre
+ * Returns true if the non US resources jar file exists in jre
* extension directory. @returns true if the jar file is there. Otherwise,
* returns false.
*/
- private static boolean isNonEuroLangSupported() {
- if (isNonEuroSupported == null) {
+ private static boolean isNonUSLangSupported() {
+ if (isNonUSSupported == null) {
synchronized (JRELocaleProviderAdapter.class) {
- if (isNonEuroSupported == null) {
+ if (isNonUSSupported == null) {
final String sep = File.separator;
String localeDataJar =
java.security.AccessController.doPrivileged(
@@ -412,7 +412,7 @@
* localedata.jar is installed or not.
*/
final File f = new File(localeDataJar);
- isNonEuroSupported =
+ isNonUSSupported =
AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
@Override
public Boolean run() {
@@ -422,6 +422,6 @@
}
}
}
- return isNonEuroSupported;
+ return isNonUSSupported;
}
}
--- a/jdk/src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template Wed Oct 31 08:29:44 2012 -0700
+++ b/jdk/src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template Wed Oct 31 11:33:36 2012 -0700
@@ -52,25 +52,25 @@
look up locale string such as "en" could be based on if it contains " en ".
*/
resourceNameToLocales.put("FormatData",
- " #FormatData_EuroLocales# | #FormatData_NonEuroLocales# ");
+ " #FormatData_USLocales# | #FormatData_NonUSLocales# ");
resourceNameToLocales.put("CollationData",
- " #CollationData_EuroLocales# | #CollationData_NonEuroLocales# ");
+ " #CollationData_USLocales# | #CollationData_NonUSLocales# ");
resourceNameToLocales.put("TimeZoneNames",
- " #TimeZoneNames_EuroLocales# | #TimeZoneNames_NonEuroLocales# ");
+ " #TimeZoneNames_USLocales# | #TimeZoneNames_NonUSLocales# ");
resourceNameToLocales.put("LocaleNames",
- " #LocaleNames_EuroLocales# | #LocaleNames_NonEuroLocales# ");
+ " #LocaleNames_USLocales# | #LocaleNames_NonUSLocales# ");
resourceNameToLocales.put("CurrencyNames",
- " #CurrencyNames_EuroLocales# | #CurrencyNames_NonEuroLocales# ");
+ " #CurrencyNames_USLocales# | #CurrencyNames_NonUSLocales# ");
resourceNameToLocales.put("CalendarData",
- " #CalendarData_EuroLocales# | #CalendarData_NonEuroLocales# ");
+ " #CalendarData_USLocales# | #CalendarData_NonUSLocales# ");
resourceNameToLocales.put("AvailableLocales",
- " #AvailableLocales_EuroLocales# | #AvailableLocales_NonEuroLocales# ");
+ " #AvailableLocales_USLocales# | #AvailableLocales_NonUSLocales# ");
}
/*