1
1
/*
2
- * Copyright (c) 2007, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2007, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
24
24
* @test
25
25
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
26
26
* 8074350 8074351 8145952 8187946 8193552 8202026 8204269
27
- * 8208746 8209775 8274658 8283277 8296239 8321480
27
+ * 8208746 8209775 8274658 8283277 8296239 8321480 8334653
28
28
* @summary Validate ISO 4217 data for Currency class.
29
29
*/
30
30
41
41
*
42
42
* 1) Make a golden-data file.
43
43
* From BSi's ISO4217 data (TABLE A1.doc), extract four (or eight, if currency is changing)
44
- * fields and save as ./tablea1 .txt.
44
+ * fields and save as ./ISO4217-list-one .txt.
45
45
* <Country code>\t<Currency code>\t<Numeric code>\t<Minor unit>[\t<Cutover Date>\t<new Currency code>\t<new Numeric code>\t<new Minor unit>]
46
46
* The Cutover Date is given in SimpleDateFormat's 'yyyy-MM-dd-HH-mm-ss' format in the GMT time zone.
47
47
*
@@ -64,7 +64,7 @@ public class ValidateISO4217 {
64
64
static final byte SKIPPED = 2 ;
65
65
66
66
/* input files */
67
- static final String datafile = "tablea1 .txt" ;
67
+ static final String datafile = "ISO4217-list-one .txt" ;
68
68
69
69
/* alpha2-code table */
70
70
static byte [] codes = new byte [ALPHA_NUM * ALPHA_NUM ];
@@ -98,7 +98,7 @@ public class ValidateISO4217 {
98
98
+ "DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-HRK-IEP-ITL-LTL-LUF-LVL-MGF-MRO-MTL-MXV-MZM-NLG-"
99
99
+ "PTE-ROL-RUR-SDD-SIT-SLL-SKK-SRG-STD-TMM-TPE-TRL-VEF-UYI-USN-USS-VEB-VED-"
100
100
+ "XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-"
101
- + "YUM-ZMK-ZWD-ZWN-ZWR" ;
101
+ + "YUM-ZMK-ZWD-ZWL- ZWN-ZWR" ;
102
102
103
103
static boolean err = false ;
104
104
0 commit comments