6573250: Java.util.Currency.getSymbol(Locale) returns wrong value when locale is not US.
authoryhuang
Sun, 20 Dec 2009 19:49:30 -0800
changeset 4611 a893242cc94b
parent 4610 541b2cf4746e
child 4612 e448c17d85ce
6573250: Java.util.Currency.getSymbol(Locale) returns wrong value when locale is not US. Reviewed-by: yhuang, peytoia
jdk/src/share/classes/sun/util/resources/CurrencyNames_en_CA.properties
jdk/test/sun/text/resources/LocaleData
jdk/test/sun/text/resources/LocaleDataTest.java
--- a/jdk/src/share/classes/sun/util/resources/CurrencyNames_en_CA.properties	Sun Dec 20 19:31:57 2009 -0800
+++ b/jdk/src/share/classes/sun/util/resources/CurrencyNames_en_CA.properties	Sun Dec 20 19:49:30 2009 -0800
@@ -36,3 +36,4 @@
 # Taligent is a registered trademark of Taligent, Inc.
 
 CAD=$
+USD=US$
--- a/jdk/test/sun/text/resources/LocaleData	Sun Dec 20 19:31:57 2009 -0800
+++ b/jdk/test/sun/text/resources/LocaleData	Sun Dec 20 19:49:30 2009 -0800
@@ -5577,3 +5577,6 @@
 
 #bug 6910489
 CalendarData/sl/firstDayOfWeek=2
+
+# bug 6573250
+CurrencyNames/en_CA/USD=US$
--- a/jdk/test/sun/text/resources/LocaleDataTest.java	Sun Dec 20 19:31:57 2009 -0800
+++ b/jdk/test/sun/text/resources/LocaleDataTest.java	Sun Dec 20 19:49:30 2009 -0800
@@ -32,7 +32,7 @@
  *      6414459 6455680 6498742 6558863 6488119 6547501 6497154 6558856 6481177
  *      6379214 6485516 6486607 4225362 4494727 6533691 6531591 6531593 6570259
  *      6509039 6609737 6610748 6645271 6507067 6873931 6450945 6645268 6646611
- *      6645405 6650730 6910489
+ *      6645405 6650730 6910489 6573250
  * @summary Verify locale data
  *
  */