-
Bug
-
Resolution: Fixed
-
P3
-
5.0u7
-
b01
-
generic
-
generic
Synopsis: Wrong Azerbaijan currency for 50u7-b01.
Regression Test Case:
=====================
java\util\Currency\CurrencyTest.java
Note :
=======
The same test case passing for 50u6-b05
Java -version :
===============
java version "1.5.0_07-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-ea-b01)
Java HotSpot(TM) Server VM (build 1.5.0_07-ea-b01, mixed mode)
To Reproduce:
=============
1) Install 50u7-b01 jdk in the test machine.
2) Copy CurrencyTest.java file to the test machine.(Which is attached to the bugster).
3) Compile as <jdk-home>/bin/javac CurrencyTest.java
4) export CLASSPATH
5) Run as <jdk-home>/bin/java CurrencyTest
ERROR:
======
Exception in thread "main" java.lang.RuntimeException: Wrong currency for Azerbaijan: expected AYM, got AZN
at CurrencyTest.checkCountryCurrency(CurrencyTest.java:159)
at CurrencyTest.testLocaleMapping(CurrencyTest.java:137)
at CurrencyTest.main(CurrencyTest.java:23)
For 50u6-b05:
=============
With any exception thrown
Countries tested: 94, own currencies: 77
Regression Test Case:
=====================
java\util\Currency\CurrencyTest.java
Note :
=======
The same test case passing for 50u6-b05
Java -version :
===============
java version "1.5.0_07-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-ea-b01)
Java HotSpot(TM) Server VM (build 1.5.0_07-ea-b01, mixed mode)
To Reproduce:
=============
1) Install 50u7-b01 jdk in the test machine.
2) Copy CurrencyTest.java file to the test machine.(Which is attached to the bugster).
3) Compile as <jdk-home>/bin/javac CurrencyTest.java
4) export CLASSPATH
5) Run as <jdk-home>/bin/java CurrencyTest
ERROR:
======
Exception in thread "main" java.lang.RuntimeException: Wrong currency for Azerbaijan: expected AYM, got AZN
at CurrencyTest.checkCountryCurrency(CurrencyTest.java:159)
at CurrencyTest.testLocaleMapping(CurrencyTest.java:137)
at CurrencyTest.main(CurrencyTest.java:23)
For 50u6-b05:
=============
With any exception thrown
Countries tested: 94, own currencies: 77
- relates to
-
JDK-6380444 Need versioning for Currency data
- Resolved