changeset 8068:2c00191a86c3

6931564: Incorrect display name of Locale for south africa 8027695: There should be a space before % sign in Swedish locale Reviewed-by: naoto
author coffeys
date Mon, 29 Sep 2014 17:39:13 +0100
parents 74a70385c21d
children e975546b12ad
files src/share/classes/sun/text/resources/FormatData_sv_SE.java src/share/classes/sun/util/resources/LocaleNames_sv.properties test/sun/text/resources/LocaleData test/sun/text/resources/LocaleDataTest.java
diffstat 4 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/text/resources/FormatData_sv_SE.java	Mon Sep 29 17:36:58 2014 +0100
+++ b/src/share/classes/sun/text/resources/FormatData_sv_SE.java	Mon Sep 29 17:39:13 2014 +0100
@@ -52,7 +52,7 @@
                 new String[] {
                     "#,##0.###;-#,##0.###", // decimal pattern
                     "#,##0.00 \u00A4;-#,##0.00 \u00A4", // currency pattern
-                    "#,##0%" // percent pattern
+                    "#,##0 %" // percent pattern
                 }
             },
         };
--- a/src/share/classes/sun/util/resources/LocaleNames_sv.properties	Mon Sep 29 17:36:58 2014 +0100
+++ b/src/share/classes/sun/util/resources/LocaleNames_sv.properties	Mon Sep 29 17:39:13 2014 +0100
@@ -1114,7 +1114,7 @@
 WS=Samoa
 YE=Jemen
 YT=Mayotte
-ZA=Sydafrika 
+ZA=Sydafrika
 ZM=Zambia
 ZW=Zimbabwe
 
--- a/test/sun/text/resources/LocaleData	Mon Sep 29 17:36:58 2014 +0100
+++ b/test/sun/text/resources/LocaleData	Mon Sep 29 17:39:13 2014 +0100
@@ -7027,3 +7027,9 @@
 
 # bug 8021121
 CurrencyNames/lv_LV/EUR=\u20AC
+
+# bug 6931564
+LocaleNames/sv/ZA=Sydafrika
+
+# bug 8027695
+FormatData/sv_SE/NumberPatterns/2=#,##0 %
--- a/test/sun/text/resources/LocaleDataTest.java	Mon Sep 29 17:36:58 2014 +0100
+++ b/test/sun/text/resources/LocaleDataTest.java	Mon Sep 29 17:39:13 2014 +0100
@@ -34,7 +34,7 @@
  *      6509039 6609737 6610748 6645271 6507067 6873931 6450945 6645268 6646611
  *      6645405 6650730 6910489 6573250 6870908 6585666 6716626 6914413 6916787
  *      6919624 6998391 7019267 7020960 7025837 7020583 7036905 7066203 7189611
- *      7171028 8013836 7028073 7195759 7085757
+ *      7171028 8013836 7028073 7195759 7085757 6931564 8027695
  * @summary Verify locale data
  *
  */