RFE: Redesign java.util.Currency to be extendable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.4.2
    • Component/s: core-libs



      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)
      ======================================================================

            Assignee:
            Naoto Sato
            Reporter:
            Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: