Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
1e8a2560
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看板
提交
1e8a2560
编写于
3月 14, 2012
作者:
Y
yhuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7085757: Currency Data: ISO 4217 Amendment 152
Reviewed-by: naoto
上级
cd6e598c
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
31 addition
and
15 deletion
+31
-15
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
+2
-1
src/share/classes/sun/util/resources/CurrencyNames.properties
...share/classes/sun/util/resources/CurrencyNames.properties
+6
-2
src/share/classes/sun/util/resources/LocaleNames.properties
src/share/classes/sun/util/resources/LocaleNames.properties
+2
-1
test/java/util/Currency/tablea1.txt
test/java/util/Currency/tablea1.txt
+2
-1
test/java/util/Locale/LocaleTest.java
test/java/util/Locale/LocaleTest.java
+5
-5
test/sun/text/resources/LocaleData
test/sun/text/resources/LocaleData
+8
-0
test/sun/text/resources/LocaleDataTest.java
test/sun/text/resources/LocaleDataTest.java
+2
-2
未找到文件。
src/share/classes/java/util/CurrencyData.properties
浏览文件 @
1e8a2560
...
...
@@ -26,8 +26,7 @@
formatVersion
=
1
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment, such as
# 'MAxxx.doc'
# It is a serial number that accompanies with each amendment.
dataVersion
=
153
...
...
@@ -49,7 +48,7 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036
NIO558-NLG528-NOK578-NPR524-NZD554-OMR512-PAB590-PEN604-PGK598-PHP608-
\
PKR586-PLN985-PTE620-PYG600-QAR634-ROL946-RON946-RSD941-RUB643-RUR810-RWF646-SAR682-
\
SBD090-SCR690-SDD736-SDG938-SEK752-SGD702-SHP654-SIT705-SKK703-SLL694-SOS706-
\
SRD968-SRG740-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-
\
SRD968-SRG740-S
SP728-S
TD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-
\
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-
\
...
...
@@ -463,6 +462,8 @@ VC=XCD
WS
=
WST
# SAN MARINO
SM
=
EUR
# SOUTH SUDAN
SS
=
SSP
# SAO TOME AND PRINCIPE
ST
=
STD
# SAUDI ARABIA
...
...
src/share/classes/java/util/LocaleISOData.java
浏览文件 @
1e8a2560
/*
* Copyright (c) 2005, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 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
...
...
@@ -433,6 +433,7 @@ class LocaleISOData {
+
"SN"
+
"SEN"
// Senegal, Republic of
+
"SO"
+
"SOM"
// Somalia, Somali Republic
+
"SR"
+
"SUR"
// Suriname, Republic of
+
"SS"
+
"SSD"
// South Sudan
+
"ST"
+
"STP"
// Sao Tome and Principe, Democratic Republic of
+
"SV"
+
"SLV"
// El Salvador, Republic of
+
"SX"
+
"SXM"
// Sint Maarten (Dutch part)
...
...
src/share/classes/sun/util/resources/CurrencyNames.properties
浏览文件 @
1e8a2560
#
# Copyright (c) 2005, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2005, 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
...
...
@@ -26,7 +26,7 @@
#
# COPYRIGHT AND PERMISSION NOTICE
#
# Copyright (C) 1991-201
1
Unicode, Inc. All rights reserved.
# Copyright (C) 1991-201
2
Unicode, Inc. All rights reserved.
# Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
#
# Permission is hereby granted, free of charge, to any person obtaining
...
...
@@ -226,6 +226,7 @@ SLL=SLL
SOS
=
SOS
SRD
=
SRD
SRG
=
SRG
SSP
=
SSP
STD
=
STD
SVC
=
SVC
SYP
=
SYP
...
...
@@ -443,6 +444,7 @@ sll=Sierra Leonean Leone
sos
=
Somali Shilling
srd
=
Surinamese Dollar
srg
=
Surinamese Guilder
ssp
=
South Sudanese Pound
std
=
S
\u
00e3o Tom
\u
00e9 and Pr
\u
00edncipe Dobra
svc
=
Salvadoran Col
\u
00f3n
syp
=
Syrian Pound
...
...
@@ -486,7 +488,9 @@ xof=CFA Franc BCEAO
xpd
=
Palladium
xpf
=
CFP Franc
xpt
=
Platinum
xsu
=
Sucre
xts
=
Testing Currency Code
xua
=
ADB Unit of Account
xxx
=
Unknown Currency
yer
=
Yemeni Rial
yum
=
Yugoslavian New Dinar (1994-2002)
...
...
src/share/classes/sun/util/resources/LocaleNames.properties
浏览文件 @
1e8a2560
#
# Copyright (c) 2005, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2005, 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
...
...
@@ -1077,6 +1077,7 @@ SM=San Marino
SN
=
Senegal
SO
=
Somalia
SR
=
Suriname
SS
=
South Sudan
ST
=
Sao Tome And Principe
SV
=
El Salvador
SX
=
Sint Maarten (Dutch part)
...
...
test/java/util/Currency/tablea1.txt
浏览文件 @
1e8a2560
#
#
#
Based on BSi's ISO4217 data - "TABLE A1.doc" + amendments up until MA153.doc
#
Amendments up until ISO 4217 AMENDMENT NUMBER 153
# (As of 12 January 2012)
#
...
...
@@ -227,6 +227,7 @@ SI EUR 978 2
SB SBD 90 2
SO SOS 706 2
ZA ZAR 710 2
SS SSP 728 2
ES EUR 978 2
LK LKR 144 2
SD SDG 938 2
...
...
test/java/util/Locale/LocaleTest.java
浏览文件 @
1e8a2560
/*
* 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
...
...
@@ -25,7 +25,7 @@
* @bug 4052404 4052440 4084688 4092475 4101316 4105828 4107014 4107953 4110613
* 4118587 4118595 4122371 4126371 4126880 4135316 4135752 4139504 4139940 4143951
* 4147315 4147317 4147552 4335196 4778440 4940539 5010672 6475525 6544471 6627549
* 6786276 7066203
* 6786276 7066203
7085757
* @summary test Locales
*/
/*
...
...
@@ -400,7 +400,7 @@ public class LocaleTest extends LocaleTestFmwk {
}
/**
* @bug 4106155 4118587 7066203
* @bug 4106155 4118587 7066203
7085757
*/
public
void
TestGetLangsAndCountries
()
{
// It didn't seem right to just do an exhaustive test of everything here, so I check
...
...
@@ -440,8 +440,8 @@ public class LocaleTest extends LocaleTestFmwk {
String
[]
spotCheck2
=
{
"US"
,
"CA"
,
"GB"
,
"FR"
,
"DE"
,
"IT"
,
"JP"
,
"KR"
,
"CN"
,
"TW"
,
"TH"
};
if
(
test
.
length
!=
2
49
)
errln
(
"Expected getISOCountries to return 2
49
countries; it returned "
+
test
.
length
);
if
(
test
.
length
!=
2
50
)
errln
(
"Expected getISOCountries to return 2
50
countries; it returned "
+
test
.
length
);
else
{
for
(
int
i
=
0
;
i
<
spotCheck2
.
length
;
i
++)
{
int
j
;
...
...
test/sun/text/resources/LocaleData
浏览文件 @
1e8a2560
...
...
@@ -7019,3 +7019,11 @@ FormatData/bg/DateTimePatterns/4=dd MMMM y, EEEE
FormatData/bg/DateTimePatterns/5=dd MMMM y
FormatData/bg/DateTimePatterns/6=dd.MM.yyyy
FormatData/bg/DateTimePatterns/7=dd.MM.yy
# bug 7085757
CurrencyNames//SSP=SSP
CurrencyNames//ssp=South Sudanese Pound
CurrencyNames//xsu=Sucre
CurrencyNames//xua=ADB Unit of Account
LocaleNames//SS=South Sudan
LocaleNames/en/SS=South Sudan
\ No newline at end of file
test/sun/text/resources/LocaleDataTest.java
浏览文件 @
1e8a2560
/*
* 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
...
...
@@ -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
* 7003124
7085757
* @summary Verify locale data
*
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录