currency for sr_YU fails

Description

Deleted Component: formatting

filed for Oliver Deakin

Ahh I see. I don't open the file directly. I work on the Apache Harmony
project and have been looking at what it would take to update to 3.8
(we're on 3.4.4 at the moment). Im seeing a failure in our test code
when running with 3.8 which can be demonstrated by the following test case:

If I run this class with Java 5.0 (J9) with icu4j_3_6_1.jar and
icu4j-charsets_3_6_1.jar added to the classpath it completes printing:
Currency symbol=YUM Currency=YUM

However if I run again with icu4j_3_8.jar and icu4j_charsets_3_8.jar
added to the classpath instead I get the following stack trace:

It appears that we are carrying out a currency lookup for "YU" and
failing to find it. I thought this might have been caused by the missing
CurrencyData.res file, but perhaps it is because the data for this
locale has been left out of supplementalData.res?

Thanks,
Oliver

Steven R. Loomis wrote:
http://bugs.icu-project.org/trac/ticket/5714 (J)
http://bugs.icu-project.org/trac/ticket/5715 (C)

CurrencyData is not used anymore and has been removed, instead
supplementalData is used.

Activity

Show:
TracBot
July 1, 2018, 12:13 AM
Trac Comment 5 by anonymous—2010-10-26T06:22:53.218Z

Some of these comments people are saying here on this issue really seem to make me look at this in a whole new way. I do enjoy the responses though.
get a

TracBot
July 1, 2018, 12:13 AM
Trac Comment 2 by —2007-09-20T16:15:11.000Z

No longer fails. If EUR is an incorrect return type, please file a new bug.

TracBot
July 1, 2018, 12:13 AM
Trac Comment 1 by —2007-09-20T15:56:55.000Z

Hm. I attempted to fix this code. But then it returns EUR due to the following:

  1. map of YU to CS (serbia and montenegro

  2. following in CLDR currency map:

issue:

  1. CS is also obsolete, should be RS (serbia) or ME (montenegro)

  2. by population RSD (serbia) is probably a better return for default currency than EUR (montenegro)

Fixed

Assignee

George Rhoten

Reporter

Steven R. Loomis

Components

None

Labels

None

Reviewer

None

Priority

major

Time Needed

None

Fix versions