From 43cdd65de9f5c1e1b15eec635b4f6751231cd12f Mon Sep 17 00:00:00 2001 From: yhuang Date: Thu, 7 Nov 2013 22:30:06 -0800 Subject: [PATCH] 8027695: There should be a space before % sign in Swedish locale Reviewed-by: naoto --- src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java | 2 +- test/sun/text/resources/LocaleData | 3 +++ test/sun/text/resources/LocaleDataTest.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java b/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java index a9a7881a6..f9304122e 100644 --- a/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java +++ b/src/share/classes/sun/text/resources/sv/FormatData_sv_SE.java @@ -52,7 +52,7 @@ public class FormatData_sv_SE extends ParallelListResourceBundle { new String[] { "#,##0.###;-#,##0.###", // decimal pattern "#,##0.00 \u00A4;-#,##0.00 \u00A4", // currency pattern - "#,##0%" // percent pattern + "#,##0 %" // percent pattern } }, }; diff --git a/test/sun/text/resources/LocaleData b/test/sun/text/resources/LocaleData index 1fd2076a1..fc090c442 100644 --- a/test/sun/text/resources/LocaleData +++ b/test/sun/text/resources/LocaleData @@ -7687,3 +7687,6 @@ LocaleNames/ko/PT=\ud3ec\ub974\ud22c\uce7c # bug 6931564 LocaleNames/sv/ZA=Sydafrika + +# bug 8027695 +FormatData/sv_SE/NumberPatterns/2=#,##0 % diff --git a/test/sun/text/resources/LocaleDataTest.java b/test/sun/text/resources/LocaleDataTest.java index 8918f1a15..567e8aefb 100644 --- a/test/sun/text/resources/LocaleDataTest.java +++ b/test/sun/text/resources/LocaleDataTest.java @@ -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 * */ -- GitLab