8027695: There should be a space before % sign in Swedish locale
authoryhuang
Thu, 07 Nov 2013 22:30:06 -0800
changeset 21625 43b5aaf791aa
parent 21624 2648e47a6654
child 21626 6124fbba6436
8027695: There should be a space before % sign in Swedish locale Reviewed-by: naoto
jdk/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java
jdk/test/sun/text/resources/LocaleData
jdk/test/sun/text/resources/LocaleDataTest.java
--- a/jdk/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java	Thu Nov 07 20:56:44 2013 -0500
+++ b/jdk/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java	Thu Nov 07 22:30:06 2013 -0800
@@ -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/jdk/test/sun/text/resources/LocaleData	Thu Nov 07 20:56:44 2013 -0500
+++ b/jdk/test/sun/text/resources/LocaleData	Thu Nov 07 22:30:06 2013 -0800
@@ -7687,3 +7687,6 @@
 
 # bug 6931564
 LocaleNames/sv/ZA=Sydafrika
+
+# bug 8027695
+FormatData/sv_SE/NumberPatterns/2=#,##0 %
--- a/jdk/test/sun/text/resources/LocaleDataTest.java	Thu Nov 07 20:56:44 2013 -0500
+++ b/jdk/test/sun/text/resources/LocaleDataTest.java	Thu Nov 07 22:30:06 2013 -0800
@@ -35,7 +35,7 @@
  *      6645405 6650730 6910489 6573250 6870908 6585666 6716626 6914413 6916787
  *      6919624 6998391 7019267 7020960 7025837 7020583 7036905 7066203 7101495
  *      7003124 7085757 7028073 7171028 7189611 8000983 7195759 8004489 8006509
- *      7114053 7074882 7040556 8013836 8021121 6192407 6931564
+ *      7114053 7074882 7040556 8013836 8021121 6192407 6931564 8027695
  * @summary Verify locale data
  *
  */