United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6516858 : Slovenia is using EURO as currency since 1st of January 2007

Details
Type:
Bug
Submit Date:
2007-01-24
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-01-24
Component:
core-libs
OS:
linux
Sub-Component:
java.util:i18n
CPU:
x86
Priority:
P4
Resolution:
Duplicate
Affected Versions:
5.0
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
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 ----------

                                    

Comments



Hardware and Software, Engineered to Work Together