Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
d1327a43
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d1327a43
编写于
10月 31, 2012
作者:
N
naoto
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8001231: Move locale data out of rt.jar (except the US locale)
Reviewed-by: alanb, erikj
上级
379b15fc
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
440 addition
and
404 deletion
+440
-404
make/java/java/genlocales.gmk
make/java/java/genlocales.gmk
+24
-24
make/java/java/localegen.sh
make/java/java/localegen.sh
+15
-15
make/java/text/base/FILES_java.gmk
make/java/text/base/FILES_java.gmk
+1
-144
make/java/util/FILES_java.gmk
make/java/util/FILES_java.gmk
+1
-10
make/java/util/FILES_properties.gmk
make/java/util/FILES_properties.gmk
+1
-180
make/sun/text/FILES_java.gmk
make/sun/text/FILES_java.gmk
+154
-2
make/sun/text/FILES_properties.gmk
make/sun/text/FILES_properties.gmk
+179
-0
makefiles/CreateJars.gmk
makefiles/CreateJars.gmk
+37
-1
makefiles/GensrcLocaleDataMetaInfo.gmk
makefiles/GensrcLocaleDataMetaInfo.gmk
+12
-12
src/share/classes/sun/util/locale/provider/JRELocaleProviderAdapter.java
...es/sun/util/locale/provider/JRELocaleProviderAdapter.java
+9
-9
src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template
...locale/provider/LocaleDataMetaInfo-XLocales.java.template
+7
-7
未找到文件。
make/java/java/genlocales.gmk
浏览文件 @
d1327a43
...
...
@@ -38,31 +38,31 @@ FILES_compiled_properties_orig := $(FILES_compiled_properties)
# 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
Non
Euro
_Resources_java := $(FILES_java)
Non
Euro
_Resources_properties := $(FILES_compiled_properties)
Non
US
_Resources_java := $(FILES_java)
Non
US
_Resources_properties := $(FILES_compiled_properties)
# Restore the orignal FILES_java & FILES_compiled_properties variables
FILES_java := $(FILES_java_orig)
...
...
@@ -80,30 +80,30 @@ RESOURCE_NAMES="FormatData CollationData TimeZoneNames LocaleNames CurrencyNames
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) $(Non
Euro_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.noneuro
;
@$(ECHO) $(Non
Euro_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) $(Non
US_Resources_properties) | $(NAWK) 'gsub(/.properties/,"\n") {print}' > $@.tmp.nonus
;
@$(ECHO) $(Non
US_Resources_java) | $(NAWK) 'gsub(/.java/,"\n") {print}' >> $@.tmp.nonus
;
NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \
$(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.
euro
\
$@.tmp.non
euro
$< $@
@$(RM) $@.tmp.
euro $@.tmp.noneuro
;
$(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.
us
\
$@.tmp.non
us
$< $@
@$(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',$(Non
Euro_Resources_properties)) > $@.tmp.noneuro
;
@$(ECHO) $(subst .java,'\n',$(Non
Euro_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',$(Non
US_Resources_properties)) > $@.tmp.nonus
;
@$(ECHO) $(subst .java,'\n',$(Non
US_Resources_java)) >> $@.tmp.nonus
;
NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \
$(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.
euro
\
$@.tmp.non
euro
$< $@
@$(RM) $@.tmp.
euro $@.tmp.noneuro
;
$(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.
us
\
$@.tmp.non
us
$< $@
@$(RM) $@.tmp.
us $@.tmp.nonus
;
endif
genlocales : $(LocaleDataMetaInfo_Dest)
...
...
make/java/java/localegen.sh
浏览文件 @
d1327a43
...
...
@@ -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;
NON
EURO
_FILES_LIST
=
$3
# A list of non-
US
resources;
NON
US
_FILES_LIST
=
$3
INPUT_FILE
=
$4
OUTPUT_FILE
=
$5
...
...
@@ -53,23 +53,23 @@ getlocalelist() {
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.
non
euro
all
=
" ja-JP-JP th-TH-TH "
non
us
all
=
" ja-JP-JP th-TH-TH "
for
FILE
in
$RESOURCE_NAMES
do
getlocalelist
$FILE
$
EURO
_FILES_LIST
sed_script
=
$sed_script
"-e
\"
s@#"
$FILE
"_
Euro
Locales#@
$localelist
@g
\"
"
euroall
=
$euro
all
" "
$localelist
getlocalelist
$FILE
$NON
EURO
_FILES_LIST
sed_script
=
$sed_script
"-e
\"
s@#"
$FILE
"_Non
Euro
Locales#@
$localelist
@g
\"
"
non
euroall
=
$noneuro
all
" "
$localelist
getlocalelist
$FILE
$
US
_FILES_LIST
sed_script
=
$sed_script
"-e
\"
s@#"
$FILE
"_
US
Locales#@
$localelist
@g
\"
"
usall
=
$us
all
" "
$localelist
getlocalelist
$FILE
$NON
US
_FILES_LIST
sed_script
=
$sed_script
"-e
\"
s@#"
$FILE
"_Non
US
Locales#@
$localelist
@g
\"
"
non
usall
=
$nonus
all
" "
$localelist
done
euroall
=
`
(
for
LOC
in
$euro
all
;
do
echo
$LOC
;
done
)
|
$SORT
-u
`
non
euroall
=
`
(
for
LOC
in
$noneuro
all
;
do
echo
$LOC
;
done
)
|
$SORT
-u
`
usall
=
`
(
for
LOC
in
$us
all
;
do
echo
$LOC
;
done
)
|
$SORT
-u
`
non
usall
=
`
(
for
LOC
in
$nonus
all
;
do
echo
$LOC
;
done
)
|
$SORT
-u
`
sed_script
=
$sed_script
"-e
\"
s@#AvailableLocales_
EuroLocales#@
$euro
all
@g
\"
"
sed_script
=
$sed_script
"-e
\"
s@#AvailableLocales_Non
EuroLocales#@
$noneuro
all
@g
\"
"
sed_script
=
$sed_script
"-e
\"
s@#AvailableLocales_
USLocales#@
$us
all
@g
\"
"
sed_script
=
$sed_script
"-e
\"
s@#AvailableLocales_Non
USLocales#@
$nonus
all
@g
\"
"
sed_script
=
$sed_script
"
$INPUT_FILE
>
$OUTPUT_FILE
"
eval
$sed_script
make/java/text/base/FILES_java.gmk
浏览文件 @
d1327a43
...
...
@@ -103,150 +103,7 @@ FILES_java = \
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
make/java/util/FILES_java.gmk
浏览文件 @
d1327a43
...
...
@@ -29,13 +29,4 @@ FILES_java = \
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
make/java/util/FILES_properties.gmk
浏览文件 @
d1327a43
...
...
@@ -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
make/sun/text/FILES_java.gmk
浏览文件 @
d1327a43
...
...
@@ -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 @@ FILES_java = \
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 @@ FILES_java = \
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 @@ FILES_java = \
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
...
...
make/sun/text/FILES_properties.gmk
浏览文件 @
d1327a43
...
...
@@ -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 @@ FILES_compiled_properties = \
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
makefiles/CreateJars.gmk
浏览文件 @
d1327a43
...
...
@@ -74,10 +74,46 @@ JARS+=$(JDK_OUTPUTDIR)/lib/ext/dnsns.jar
##########################################################################################
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,\
...
...
makefiles/GensrcLocaleDataMetaInfo.gmk
浏览文件 @
d1327a43
...
...
@@ -50,26 +50,26 @@ ifneq (,$(MISSING_RESOURCES)$(NEW_RESOURCES))
$(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_Non
EuroLocales$$(HASH)/ $$($1_NON_EURO
_LOCALES)/g'
SED_ARGS+= -e 's/$$(HASH)$1_
USLocales$$(HASH)/ $$($1_US
_LOCALES)/g'
SED_ARGS+= -e 's/$$(HASH)$1_Non
USLocales$$(HASH)/ $$($1_NON_US
_LOCALES)/g'
endef
#sun.text.resources.FormatData
...
...
@@ -90,8 +90,8 @@ $(eval $(call CaptureLocale,CurrencyNames))
#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_Non
EuroLocales$(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_Non
USLocales$(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
...
...
src/share/classes/sun/util/locale/provider/JRELocaleProviderAdapter.java
浏览文件 @
d1327a43
...
...
@@ -321,7 +321,7 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter {
while
(
tokens
.
hasMoreTokens
())
{
String
token
=
tokens
.
nextToken
();
if
(
token
.
equals
(
"|"
))
{
if
(
isNon
Euro
LangSupported
())
{
if
(
isNon
US
LangSupported
())
{
continue
;
}
break
;
...
...
@@ -361,7 +361,7 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter {
*/
int
barIndex
=
supportedLocaleString
.
indexOf
(
'|'
);
StringTokenizer
localeStringTokenizer
;
if
(
isNon
Euro
LangSupported
())
{
if
(
isNon
US
LangSupported
())
{
localeStringTokenizer
=
new
StringTokenizer
(
supportedLocaleString
.
substring
(
0
,
barIndex
)
+
supportedLocaleString
.
substring
(
barIndex
+
1
));
}
else
{
...
...
@@ -390,17 +390,17 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter {
return
locales
;
}
private
static
volatile
Boolean
isNon
Euro
Supported
=
null
;
private
static
volatile
Boolean
isNon
US
Supported
=
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
isNon
Euro
LangSupported
()
{
if
(
isNon
Euro
Supported
==
null
)
{
private
static
boolean
isNon
US
LangSupported
()
{
if
(
isNon
US
Supported
==
null
)
{
synchronized
(
JRELocaleProviderAdapter
.
class
)
{
if
(
isNon
Euro
Supported
==
null
)
{
if
(
isNon
US
Supported
==
null
)
{
final
String
sep
=
File
.
separator
;
String
localeDataJar
=
java
.
security
.
AccessController
.
doPrivileged
(
...
...
@@ -412,7 +412,7 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter {
* localedata.jar is installed or not.
*/
final
File
f
=
new
File
(
localeDataJar
);
isNon
Euro
Supported
=
isNon
US
Supported
=
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
Boolean
>()
{
@Override
public
Boolean
run
()
{
...
...
@@ -422,6 +422,6 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter {
}
}
}
return
isNon
Euro
Supported
;
return
isNon
US
Supported
;
}
}
src/share/classes/sun/util/locale/provider/LocaleDataMetaInfo-XLocales.java.template
浏览文件 @
d1327a43
...
...
@@ -52,25 +52,25 @@ public class LocaleDataMetaInfo {
look up locale string such as "
en
" could be based on if it contains "
en
".
*/
resourceNameToLocales.put("
FormatData
",
"
#
FormatData_
EuroLocales
#
|
#
FormatData_NonEuro
Locales
#
");
"
#
FormatData_
USLocales
#
|
#
FormatData_NonUS
Locales
#
");
resourceNameToLocales.put("
CollationData
",
"
#
CollationData_
EuroLocales
#
|
#
CollationData_NonEuro
Locales
#
");
"
#
CollationData_
USLocales
#
|
#
CollationData_NonUS
Locales
#
");
resourceNameToLocales.put("
TimeZoneNames
",
"
#
TimeZoneNames_
EuroLocales
#
|
#
TimeZoneNames_NonEuro
Locales
#
");
"
#
TimeZoneNames_
USLocales
#
|
#
TimeZoneNames_NonUS
Locales
#
");
resourceNameToLocales.put("
LocaleNames
",
"
#
LocaleNames_
EuroLocales
#
|
#
LocaleNames_NonEuro
Locales
#
");
"
#
LocaleNames_
USLocales
#
|
#
LocaleNames_NonUS
Locales
#
");
resourceNameToLocales.put("
CurrencyNames
",
"
#
CurrencyNames_
EuroLocales
#
|
#
CurrencyNames_NonEuro
Locales
#
");
"
#
CurrencyNames_
USLocales
#
|
#
CurrencyNames_NonUS
Locales
#
");
resourceNameToLocales.put("
CalendarData
",
"
#
CalendarData_
EuroLocales
#
|
#
CalendarData_NonEuro
Locales
#
");
"
#
CalendarData_
USLocales
#
|
#
CalendarData_NonUS
Locales
#
");
resourceNameToLocales.put("
AvailableLocales
",
"
#
AvailableLocales_
EuroLocales
#
|
#
AvailableLocales_NonEuro
Locales
#
");
"
#
AvailableLocales_
USLocales
#
|
#
AvailableLocales_NonUS
Locales
#
");
}
/*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录