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

Slovenia is using EURO as currency since 1st of January 2007

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs

      FULL PRODUCT VERSION :
      java version "1.5.0_10"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
      Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Linux borgcube 2.6.15-27-686 #1 SMP PREEMPT Fri Dec 8 18:00:07 UTC 2006 i686 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Slovenia has joined euro-zone at midnight on 1st of January 2007. So EURO is now our currency.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      EUR
      EUR
      ACTUAL -
      SIT
      tol

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      The test program I used:
      package locale;

      import java.util.Currency;
      import java.util.Date;
      import java.util.Locale;

      public class MyLocaleTest {
          public static void main(String[] args) {
              Locale l = new Locale("sl", "SI");
              Currency c = Currency.getInstance(l);
              System.out.println(c.getCurrencyCode());
              System.out.println(c.getSymbol());
          }
      }

      ---------- END SOURCE ----------

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: