Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
7edc5556
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看板
提交
7edc5556
编写于
12月 20, 2012
作者:
Y
yhuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7195759: ISO 4217 Amendment 154
Reviewed-by: naoto
上级
ee31c371
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
17 addition
and
12 deletion
+17
-12
src/share/classes/java/util/CurrencyData.properties
src/share/classes/java/util/CurrencyData.properties
+4
-3
src/share/classes/java/util/LocaleISOData.java
src/share/classes/java/util/LocaleISOData.java
+1
-1
src/share/classes/sun/util/resources/CurrencyNames.properties
...share/classes/sun/util/resources/CurrencyNames.properties
+1
-0
test/java/util/Currency/ValidateISO4217.java
test/java/util/Currency/ValidateISO4217.java
+3
-3
test/java/util/Currency/tablea1.txt
test/java/util/Currency/tablea1.txt
+4
-4
test/sun/text/resources/LocaleData
test/sun/text/resources/LocaleData
+3
-0
test/sun/text/resources/LocaleDataTest.java
test/sun/text/resources/LocaleDataTest.java
+1
-1
未找到文件。
src/share/classes/java/util/CurrencyData.properties
浏览文件 @
7edc5556
...
...
@@ -28,7 +28,7 @@ formatVersion=1
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment.
dataVersion
=
15
3
dataVersion
=
15
4
# List of all valid ISO 4217 currency codes.
# To ensure compatibility, do not remove codes.
...
...
@@ -52,7 +52,8 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036
TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-
\
UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-
\
XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-
\
XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWL932-ZWN942-ZWR935
XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZMW967-ZWD716-ZWL932-
\
ZWN942-ZWR935
# Mappings from ISO 3166 country codes to ISO 4217 currency codes.
...
...
@@ -573,7 +574,7 @@ EH=MAD
# YEMEN
YE
=
YER
# ZAMBIA
ZM
=
ZM
K
ZM
=
ZM
W
# ZIMBABWE
ZW
=
ZWL
...
...
src/share/classes/java/util/LocaleISOData.java
浏览文件 @
7edc5556
...
...
@@ -473,7 +473,7 @@ class LocaleISOData {
+
"YE"
+
"YEM"
// Yemen
+
"YT"
+
"MYT"
// Mayotte
+
"ZA"
+
"ZAF"
// South Africa, Republic of
+
"ZM"
+
"ZM
B
"
// Zambia, Republic of
+
"ZM"
+
"ZM
W
"
// Zambia, Republic of
+
"ZW"
+
"ZWE"
// Zimbabwe
;
...
...
src/share/classes/sun/util/resources/CurrencyNames.properties
浏览文件 @
7edc5556
...
...
@@ -278,6 +278,7 @@ YER=YER
YUM
=
YUM
ZAR
=
ZAR
ZMK
=
ZMK
ZMW
=
ZMW
ZWD
=
ZWD
ZWL
=
ZWL
ZWN
=
ZWN
...
...
test/java/util/Currency/ValidateISO4217.java
浏览文件 @
7edc5556
/*
* Copyright (c) 2007, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
2
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -22,7 +22,7 @@
*/
/*
* @test
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203
7195759
* @summary Validate ISO 4217 data for Currency class.
*/
...
...
@@ -92,7 +92,7 @@ public class ValidateISO4217 {
/* Codes that are obsolete, do not have related country */
static
final
String
otherCodes
=
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZWD-ZWN-ZWR"
;
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-Z
MK-Z
WD-ZWN-ZWR"
;
static
boolean
err
=
false
;
...
...
test/java/util/Currency/tablea1.txt
浏览文件 @
7edc5556
#
#
# Amendments up until ISO 4217 AMENDMENT NUMBER 15
3
# (As of
12 January
2012)
# Amendments up until ISO 4217 AMENDMENT NUMBER 15
4
# (As of
31 August
2012)
#
# Version
FILEVERSION=1
DATAVERSION=15
3
DATAVERSION=15
4
# ISO 4217 currency data
AF AFN 971 2
...
...
@@ -274,7 +274,7 @@ VI USD 840 2
WF XPF 953 0
EH MAD 504 2
YE YER 886 2
ZM ZM
K 894
2
ZM ZM
W 967
2
ZW ZWL 932 2
#XAU XAU 959
#XBA XBA 955
...
...
test/sun/text/resources/LocaleData
浏览文件 @
7edc5556
...
...
@@ -7074,3 +7074,6 @@ FormatData/sl/DatePatterns/1=dd. MMMM y
# bug 7189611
CurrencyNames/es_VE/VEF=Bs.F.
# bug 7195759
CurrencyNames//ZMW=ZMW
test/sun/text/resources/LocaleDataTest.java
浏览文件 @
7edc5556
...
...
@@ -34,7 +34,7 @@
* 6509039 6609737 6610748 6645271 6507067 6873931 6450945 6645268 6646611
* 6645405 6650730 6910489 6573250 6870908 6585666 6716626 6914413 6916787
* 6919624 6998391 7019267 7020960 7025837 7020583 7036905 7066203 7101495
* 7003124 7085757 7028073 7171028 7189611
* 7003124 7085757 7028073 7171028 7189611
7195759
* @summary Verify locale data
*
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录