6650730: Lithuanian locale date and number formats mismatch.
authoryhuang
Thu, 17 Dec 2009 22:24:08 -0800
changeset 4608 9de27bdef3d5
parent 4607 a1e4ca30a49a
child 4609 879be24ce29a
6650730: Lithuanian locale date and number formats mismatch. Reviewed-by: yhuang, peytoia
jdk/src/share/classes/sun/text/resources/FormatData_lt.java
jdk/test/sun/text/resources/LocaleData
jdk/test/sun/text/resources/LocaleDataTest.java
--- a/jdk/src/share/classes/sun/text/resources/FormatData_lt.java	Thu Dec 17 02:28:59 2009 -0800
+++ b/jdk/src/share/classes/sun/text/resources/FormatData_lt.java	Thu Dec 17 22:24:08 2009 -0800
@@ -113,7 +113,7 @@
             { "NumberElements",
                 new String[] {
                     ",", // decimal separator
-                    ".", // group (thousands) separator
+                    "\u00a0", // group (thousands) separator
                     ";", // list separator
                     "%", // percent sign
                     "0", // native 0 digit
@@ -133,7 +133,7 @@
                     "HH.mm", // short time pattern
                     "EEEE, yyyy, MMMM d", // full date pattern
                     "EEEE, yyyy, MMMM d", // long date pattern
-                    "yyyy.M.d", // medium date pattern
+                    "yyyy-MM-dd", // medium date pattern
                     "yy.M.d", // short date pattern
                     "{1} {0}" // date-time pattern
                 }
--- a/jdk/test/sun/text/resources/LocaleData	Thu Dec 17 02:28:59 2009 -0800
+++ b/jdk/test/sun/text/resources/LocaleData	Thu Dec 17 22:24:08 2009 -0800
@@ -5567,3 +5567,11 @@
 # bug 6646611
 FormatData/be_BY/MonthNames/10=\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430
 FormatData/be_BY/MonthAbbreviations/10=\u043b\u0456\u0441
+
+# bug 6645405
+FormatData/hu_HU/NumberPatterns/1=#,##0.## \u00A4;-#,##0.## \u00A4
+
+# bug 6650730
+FormatData/lt/NumberElements/1=\u00a0
+FormatData/lt/DateTimePatterns/6=yyyy-MM-dd
+
--- a/jdk/test/sun/text/resources/LocaleDataTest.java	Thu Dec 17 02:28:59 2009 -0800
+++ b/jdk/test/sun/text/resources/LocaleDataTest.java	Thu Dec 17 22:24:08 2009 -0800
@@ -32,6 +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
  * @summary Verify locale data
  *
  */