提交 de0f2e09 编写于 作者: N naoto

6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin

6786276: Locale.getISOCountries() still contains country code "CS"
Reviewed-by: okutsu
上级 2e10a180
......@@ -441,12 +441,16 @@ RO=ROL;2005-06-30-21-00-00;RON
RU=RUB
# RWANDA
RW=RWF
# SAINT BARTHELEMY
BL=EUR
# SAINT HELENA
SH=SHP
# SAINT KITTS AND NEVIS
KN=XCD
# SAINT LUCIA
LC=XCD
# SAINT MARTIN
MF=EUR
# SAINT PIERRE AND MIQUELON
PM=EUR
# SAINT VINCENT AND THE GRENADINES
......
......@@ -250,6 +250,7 @@ class LocaleISOData {
+ "BH" + "BHR" // Bahrain, Kingdom of
+ "BI" + "BDI" // Burundi, Republic of
+ "BJ" + "BEN" // Benin, People's Republic of
+ "BL" + "BLM" // Saint Barth\u00e9lemy
+ "BM" + "BMU" // Bermuda
+ "BN" + "BRN" // Brunei Darussalam
+ "BO" + "BOL" // Bolivia, Republic of
......@@ -273,7 +274,7 @@ class LocaleISOData {
+ "CN" + "CHN" // China, People's Republic of
+ "CO" + "COL" // Colombia, Republic of
+ "CR" + "CRI" // Costa Rica, Republic of
+ "CS" + "SCG" // Serbia and Montenegro
// + "CS" + "SCG" // Serbia and Montenegro
+ "CU" + "CUB" // Cuba, Republic of
+ "CV" + "CPV" // Cape Verde, Republic of
+ "CX" + "CXR" // Christmas Island
......@@ -363,6 +364,7 @@ class LocaleISOData {
+ "MC" + "MCO" // Monaco, Principality of
+ "MD" + "MDA" // Moldova, Republic of
+ "ME" + "MNE" // Montenegro, Republic of
+ "MF" + "MAF" // Saint Martin
+ "MG" + "MDG" // Madagascar, Republic of
+ "MH" + "MHL" // Marshall Islands
+ "MK" + "MKD" // Macedonia, the former Yugoslav Republic of
......
......@@ -257,6 +257,7 @@ BG=Bulgaria
BH=Bahrain
BI=Burundi
BJ=Benin
BL=Saint Barth\u00e9lemy
BM=Bermuda
BN=Brunei
BO=Bolivia
......@@ -370,6 +371,7 @@ MA=Morocco
MC=Monaco
MD=Moldova
ME=Montenegro
MF=Saint Martin
MG=Madagascar
MH=Marshall Islands
MK=Macedonia
......
......@@ -22,7 +22,7 @@
*/
/*
* @test
* @bug 4691089 4819436 4942982 5104960 6544471
* @bug 4691089 4819436 4942982 5104960 6544471 6627549
* @summary Validate ISO 4217 data for Currency class.
*/
......@@ -86,6 +86,8 @@ public class ValidateISO4217 {
{"JE", "GBP", "826", "2"}, // Jersey
{"GG", "GBP", "826", "2"}, // Guernsey
{"IM", "GBP", "826", "2"}, // Isle of Man
{"BL", "EUR", "978", "2"}, // Saint Barthelemy
{"MF", "EUR", "978", "2"}, // Saint Martin
};
/* Codes that are obsolete, do not have related country */
......
......@@ -24,7 +24,7 @@
* @test
* @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 5010672 6475525 6544471
* 4147315 4147317 4147552 4335196 4778440 5010672 6475525 6544471 6627549 6786276
* @summary test Locales
*/
/*
......@@ -439,8 +439,8 @@ public class LocaleTest extends LocaleTestFmwk {
String[] spotCheck2 = { "US", "CA", "GB", "FR", "DE", "IT", "JP", "KR", "CN", "TW", "TH" };
if (test.length != 245)
errln("Expected getISOCountries to return 245 countries; it returned " + test.length);
if (test.length != 246)
errln("Expected getISOCountries to return 246 countries; it returned " + test.length);
else {
for (int i = 0; i < spotCheck2.length; i++) {
int j;
......
......@@ -5518,3 +5518,11 @@ FormatData/is_IS/NumberPatterns/1=#,##0. \u00A4;-#,##0. \u00A4
FormatData/sv/AmPmMarkers/0=fm
FormatData/sv/AmPmMarkers/1=em
# JE, GG, IM (6544471)
LocaleNames//JE=Jersey
LocaleNames//GG=Guernsey
LocaleNames//IM=Isle Of Man
# BL, MF (6627549)
LocaleNames//BL=Saint Barth\u00e9lemy
LocaleNames//MF=Saint Martin
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册