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

Currency elements not used

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.1, 1.1.2
    • core-libs



      Name: bb33257 Date: 07/23/97


      Although the LocaleElements classes contain data for the various
      currency elements (for example, the currency symbol such as "$", the currency
      separator (which can differ from the usual decimal separator),
      and the long currency symbol such as "USD"), they are not used.
      Instead, they are hard-coded into the number patterns.

      The correct fix is to encode the currency patterns using the
      Unicode currency symbol (\u00A4), and to modify DecimalFormat
      to substitute in the currency symbol.

      This will require a code change to DecimalFormat, a data change
      to all locale currency patterns. No API change is necessary.
      Javadoc will have to be updated for DecimalFormat and/or NumberFormat.
      ======================================================================

            aliusunw Alan Liu (Inactive)
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: