JDK-6608572 : Currency change for Malta and Cyprus
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 5.0u15-rev,7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-24
  • Updated: 2012-10-01
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7
1.4.2_18Fixed 6u10Fixed 7 b33Fixed
Related Reports
Duplicate :  
Description
Malta/Cyprus will switch their currencies to Euro from the January 1st, 2008.

Comments
EVALUATION --- old/src/share/classes/java/util/CurrencyData.properties Fri Apr 25 01:23:31 2008 +++ new/src/share/classes/java/util/CurrencyData.properties Fri Apr 25 01:23:30 2008 @@ -29,7 +29,7 @@ # It is a serial number that accompanies with each amendment, such as # 'MAxxx.doc' -dataVersion=139 +dataVersion=140 # List of all valid ISO 4217 currency codes. # To ensure compatibility, do not remove codes. @@ -187,7 +187,7 @@ # CUBA CU=CUP # CYPRUS -CY=CYP +CY=EUR # CZECH REPUBLIC CZ=CZK # DENMARK @@ -346,7 +346,7 @@ # MALI ML=XOF # MALTA -MT=MTL +MT=EUR # MARSHALL ISLANDS MH=USD # MARTINIQUE --- old/test/java/util/Currency/ValidateISO4217.java Fri Apr 25 01:23:37 2008 +++ new/test/java/util/Currency/ValidateISO4217.java Fri Apr 25 01:23:35 2008 @@ -90,7 +90,7 @@ /* Codes that are obsolete, do not have related country */ static final String otherCodes = - "ADP-AFA-ATS-AYM-BEF-BGL-BOV-BYB-CLF-DEM-ESP-FIM-FRF-GRD-GWP-IEP-ITL-LUF-MGF-MXV-NLG-PTE-RUR-SDD-SIT-SRG-TPE-TRL-VEF-USN-USS-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XTS-XXX-YUM-ZWN"; + "ADP-AFA-ATS-AYM-BEF-BGL-BOV-BYB-CLF-CYP-DEM-ESP-FIM-FRF-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-NLG-PTE-RUR-SDD-SIT-SRG-TPE-TRL-VEF-USN-USS-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XTS-XXX-YUM-ZWN"; static boolean err = false; --- old/test/java/util/Currency/tablea1.txt Fri Apr 25 01:23:41 2008 +++ new/test/java/util/Currency/tablea1.txt Fri Apr 25 01:23:40 2008 @@ -1,12 +1,12 @@ # # -# Based on BSi's ISO4217 data - "TABLE A1.doc" + amendments up until MA139.doc -# (As of 18 June 2007) +# Based on BSi's ISO4217 data - "TABLE A1.doc" + amendments up until MA140.doc +# (As of 24 September 2007) # # Version FILEVERSION=1 -DATAVERSION=139 +DATAVERSION=140 # ISO 4217 currency data AF AFN 971 2 @@ -68,7 +68,7 @@ CI XOF 952 0 HR HRK 191 2 CU CUP 192 2 -CY CYP 196 2 +CY EUR 978 2 CZ CZK 203 2 DK DKK 208 2 DJ DJF 262 0 @@ -149,7 +149,7 @@ MY MYR 458 2 MV MVR 462 2 ML XOF 952 0 -MT MTL 470 2 +MT EUR 978 2 MH USD 840 2 MQ EUR 978 2 MR MRO 478 2
07-05-2008

EVALUATION Change currency this way: Malta - MTL -> EUR, keep minor units Cyprus - CYP -> EUR, keep minor units
24-04-2008