commit | ab998708338b76b2d71f42568f46aefa2f4d7908 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jan 29 21:32:17 2010 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 29 21:43:50 2010 -0800 |
tree | 1116a7f1c2793a2eb4524ffdfd45eadf57f12a4a | |
parent | 4ec8405ab284c5f076589684d533f67815b3b9aa [diff] |
Fix fallback in Currency.getSymbol(Locale). If ICU doesn't have any localized symbol for a currency, we're supposed to return the currency code, not null. I introduced this bug in my recent changes. The Currency tests don't find it, but DecimalFormatTest.test_setCurrencyLjava_util_Currency does, by accident. I've added an explicit test.