8037111: space before percent is inconsistent between sv and sv_SE

8081643: wrong number format for Serbian locale with Latin script

Reviewed-by: naoto
This commit is contained in:
Li Jiang 2016-11-29 21:58:29 -08:00 committed by Lana Steuck
parent 88352efab6
commit 109b86908a
4 changed files with 17 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -167,8 +167,8 @@ public class FormatData_sr_Latn extends ParallelListResourceBundle {
},
{ "NumberElements",
new String[] {
".",
",",
".",
";",
"%",
"0",

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -270,6 +270,13 @@ public class FormatData_sv extends ParallelListResourceBundle {
"e",
}
},
{ "NumberPatterns",
new String[] {
"#,##0.###;-#,##0.###", // decimal pattern
"\u00a4 #,##0.00;-\u00a4 #,##0.00", // currency pattern
"#,##0 %" // percent pattern
}
},
{ "NumberElements",
new String[] {
",", // decimal separator

View File

@ -8293,3 +8293,9 @@ CurrencyNames//pen=Peruvian Sol
# bug #8145952
CurrencyNames//byn=Belarusian Ruble
CurrencyNames/be_BY/BYN=\u0420\u0443\u0431
# bug #8037111
FormatData/sv/NumberPatterns/2=#,##0 %
# bug #8081643
FormatData/sr-Latin/NumberElements/0=,
FormatData/sr-Latin/NumberElements/1=.

View File

@ -37,7 +37,7 @@
* 7003124 7085757 7028073 7171028 7189611 8000983 7195759 8004489 8006509
* 7114053 7074882 7040556 8008577 8013836 8021121 6192407 6931564 8027695
* 8017142 8037343 8055222 8042126 8074791 8075173 8080774 8129361 8134916
* 8145136 8145952 8164784
* 8145136 8145952 8164784 8037111 8081643
* @summary Verify locale data
* @modules java.base/sun.util.resources
* @modules jdk.localedata