Skip to content

Commit 85f5bf3

Browse files
author
Justin Lu
committed
8368308: ISO 4217 Amendment 180 Update
Reviewed-by: naoto, iris, coffeys
1 parent faf6df5 commit 85f5bf3

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/java.base/share/data/currency/CurrencyData.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ formatVersion=3
3232
# Version of the currency code information in this class.
3333
# It is a serial number that accompanies with each amendment.
3434

35-
dataVersion=179
35+
dataVersion=180
3636

3737
# List of all valid ISO 4217 currency codes.
3838
# To ensure compatibility, do not remove codes.
@@ -147,7 +147,7 @@ IO=USD
147147
# BRUNEI DARUSSALAM
148148
BN=BND
149149
# BULGARIA
150-
BG=BGN
150+
BG=BGN;2025-12-31-22-00-00;EUR
151151
# BURKINA FASO
152152
BF=XOF
153153
# BURUNDI
@@ -193,7 +193,7 @@ HR=EUR
193193
# CUBA
194194
CU=CUP
195195
# Curaçao
196-
CW=ANG;2025-04-01-04-00-00;XCG
196+
CW=XCG
197197
# CYPRUS
198198
CY=EUR
199199
# CZECHIA
@@ -510,7 +510,7 @@ SR=SRD
510510
# SVALBARD AND JAN MAYEN
511511
SJ=NOK
512512
# Sint Maarten (Dutch part)
513-
SX=ANG;2025-04-01-04-00-00;XCG
513+
SX=XCG
514514
# ESWATINI
515515
SZ=SZL
516516
# SWEDEN

test/jdk/java/util/Currency/ISO4217-list-one.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#
22
#
3-
# Amendments up until ISO 4217 AMENDMENT NUMBER 179
4-
# (As of 02 May 2025)
3+
# Amendments up until ISO 4217 AMENDMENT NUMBER 180
4+
# (As of 22 September 2025)
55
#
66

77
# Version
88
FILEVERSION=3
9-
DATAVERSION=179
9+
DATAVERSION=180
1010

1111
# ISO 4217 currency data
1212
AF AFN 971 2
@@ -44,7 +44,7 @@ BV NOK 578 2
4444
BR BRL 986 2
4545
IO USD 840 2
4646
BN BND 96 2
47-
BG BGN 975 2
47+
BG BGN 975 2 2025-12-31-22-00-00 EUR 978 2
4848
BF XOF 952 0
4949
BI BIF 108 0
5050
KH KHR 116 2
@@ -69,7 +69,7 @@ CR CRC 188 2
6969
CI XOF 952 0
7070
HR EUR 978 2
7171
CU CUP 192 2
72-
CW ANG 532 2 2025-04-01-04-00-00 XCG 532 2
72+
CW XCG 532 2
7373
CY EUR 978 2
7474
CZ CZK 203 2
7575
DK DKK 208 2
@@ -233,7 +233,7 @@ LK LKR 144 2
233233
SD SDG 938 2
234234
SR SRD 968 2
235235
SJ NOK 578 2
236-
SX ANG 532 2 2025-04-01-04-00-00 XCG 532 2
236+
SX XCG 532 2
237237
SZ SZL 748 2
238238
SE SEK 752 2
239239
CH CHF 756 2

test/jdk/java/util/Currency/ValidateISO4217.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
2727
* 8039317 8074350 8074351 8145952 8187946 8193552 8202026 8204269
2828
* 8208746 8209775 8264792 8274658 8283277 8296239 8321480 8334653
29-
* 8354343 8354344 8356096
29+
* 8354343 8354344 8356096 8368308
3030
* @summary Validate ISO 4217 data for Currency class.
3131
* @modules java.base/java.util:open
3232
* jdk.localedata
@@ -116,7 +116,7 @@ public class ValidateISO4217 {
116116
private static final Set<String> currenciesNotYetDefined = new HashSet<>();
117117
// Codes that are obsolete, do not have related country, extra currency
118118
private static final String otherCodes =
119-
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-BYR-CHE-CHW-CLF-COU-CUC-CYP-"
119+
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BGN-BOV-BYB-BYR-CHE-CHW-CLF-COU-CUC-CYP-"
120120
+ "DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-HRK-IEP-ITL-LTL-LUF-LVL-MGF-MRO-MTL-MXV-MZM-NLG-"
121121
+ "PTE-ROL-RUR-SDD-SIT-SLL-SKK-SRG-STD-TMM-TPE-TRL-VEF-UYI-USN-USS-VEB-VED-"
122122
+ "XAD-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-"

0 commit comments

Comments
 (0)