commit | 2b1f1d31b83dbabc432a928bd30d443e01b16b46 | [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 | 1aaa5b8ddc47dd40b2897baa0b2345271259c4c9 | |
parent | ddc35402999d9975397b3f0923fb4b1026a2e5c9 [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.