Skip to content

Commit 2e6cbc9

Browse files
committed
8368308: ISO 4217 Amendment 180 Update
Reviewed-by: andrew Backport-of: 85f5bf3f415cc3d44d1618ec574e73f846bb91c4
1 parent 333a551 commit 2e6cbc9

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

jdk/src/share/classes/java/util/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\u00e7ao
196-
CW=ANG;2025-04-01-04-00-00;XCG
196+
CW=XCG
197197
# CYPRUS
198198
CY=EUR
199199
# CZECHIA
@@ -508,7 +508,7 @@ SR=SRD
508508
# SVALBARD AND JAN MAYEN
509509
SJ=NOK
510510
# Sint Maarten (Dutch part)
511-
SX=ANG;2025-04-01-04-00-00;XCG
511+
SX=XCG
512512
# ESWATINI
513513
SZ=SZL
514514
# SWEDEN

jdk/test/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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
2626
* 8074350 8074351 8145952 8187946 8193552 8202026 8204269
2727
* 8208746 8209775 8274658 8283277 8296239 8321480 8334653
28-
* 8356096
28+
* 8356096 8368308
2929
* @summary Validate ISO 4217 data for Currency class.
3030
*/
3131

@@ -95,7 +95,7 @@ public class ValidateISO4217 {
9595

9696
/* Codes that are obsolete, do not have related country, extra currency */
9797
static final String otherCodes =
98-
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-BYR-CHE-CHW-CLF-COU-CUC-CYP-"
98+
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BGN-BOV-BYB-BYR-CHE-CHW-CLF-COU-CUC-CYP-"
9999
+ "DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-HRK-IEP-ITL-LTL-LUF-LVL-MGF-MRO-MTL-MXV-MZM-NLG-"
100100
+ "PTE-ROL-RUR-SDD-SIT-SLL-SKK-SRG-STD-TMM-TPE-TRL-VEF-UYI-USN-USS-VEB-VED-"
101101
+ "XAD-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-"

0 commit comments

Comments
 (0)