JDK-4990462 : RFE: Redesign java.util.Currency to be extendable
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-02-06
  • Updated: 2007-10-19
  • Resolved: 2007-10-19
Related Reports
Duplicate :  
Description

Name: jl125535			Date: 02/06/2004


A DESCRIPTION OF THE REQUEST :
Right now java.util.Currency is designed to get the valid entries from a type called CurrencyData. Unfortunately this system is so strict that there seems to be no way for developers to add a new currency that shows up in the world.


JUSTIFICATION :
We recently met the problem when the currency 'CSD' (croatia) came out.

In fact we had to patch the JDK. Second option would have been to wait until there's a new JDK release that has the new currency added.
Unfortunately the later one is not really an option when working for a bank. Your software should be able to deal with the new currency as soon as it is out.


CUSTOMER SUBMITTED WORKAROUND :
patch the jdk :-(
(Incident Review ID: 237511) 
======================================================================

Comments
EVALUATION Fixed with 6332666.
19-10-2007