Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4990462

RFE: Redesign java.util.Currency to be extendable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: