7040556: SimpleDateFormat.format Portuguese Month should not be capitalized
Reviewed-by: okutsu
--- a/jdk/src/share/classes/sun/text/resources/pt/FormatData_pt.java Thu Jun 13 10:00:00 2013 +0800
+++ b/jdk/src/share/classes/sun/text/resources/pt/FormatData_pt.java Wed Jun 12 23:54:55 2013 -0700
@@ -103,18 +103,18 @@
},
{ "MonthAbbreviations",
new String[] {
- "Jan", // abb january
- "Fev", // abb february
- "Mar", // abb march
- "Abr", // abb april
- "Mai", // abb may
- "Jun", // abb june
- "Jul", // abb july
- "Ago", // abb august
- "Set", // abb september
- "Out", // abb october
- "Nov", // abb november
- "Dez", // abb december
+ "jan", // abb january
+ "fev", // abb february
+ "mar", // abb march
+ "abr", // abb april
+ "mai", // abb may
+ "jun", // abb june
+ "jul", // abb july
+ "ago", // abb august
+ "set", // abb september
+ "out", // abb october
+ "nov", // abb november
+ "dez", // abb december
"" // abb month 13 if applicable
}
},
--- a/jdk/test/sun/text/resources/LocaleData Thu Jun 13 10:00:00 2013 +0800
+++ b/jdk/test/sun/text/resources/LocaleData Wed Jun 12 23:54:55 2013 -0700
@@ -28,9 +28,6 @@
FormatData/pt_BR/NumberElements/0=,
FormatData/pt_BR/NumberElements/1=.
FormatData/pt_BR/NumberElements/2=;
-FormatData/pt_BR/MonthAbbreviations/0=Jan
-FormatData/pt_BR/MonthAbbreviations/1=Fev
-FormatData/pt_BR/MonthAbbreviations/2=Mar
FormatData/pt_BR/DayAbbreviations/0=Dom
FormatData/pt_BR/DayAbbreviations/1=Seg
FormatData/pt_BR/DayAbbreviations/2=Ter
@@ -7667,3 +7664,18 @@
# bug 7074882
FormatData/mt/MonthNames/7=Awwissu
FormatData/mt/MonthAbbreviations/7=Aww
+
+# bug 7040556
+FormatData/pt/MonthAbbreviations/0=jan
+FormatData/pt/MonthAbbreviations/1=fev
+FormatData/pt/MonthAbbreviations/2=mar
+FormatData/pt/MonthAbbreviations/3=abr
+FormatData/pt/MonthAbbreviations/4=mai
+FormatData/pt/MonthAbbreviations/5=jun
+FormatData/pt/MonthAbbreviations/6=jul
+FormatData/pt/MonthAbbreviations/7=ago
+FormatData/pt/MonthAbbreviations/8=set
+FormatData/pt/MonthAbbreviations/9=out
+FormatData/pt/MonthAbbreviations/10=nov
+FormatData/pt/MonthAbbreviations/11=dez
+
--- a/jdk/test/sun/text/resources/LocaleDataTest.java Thu Jun 13 10:00:00 2013 +0800
+++ b/jdk/test/sun/text/resources/LocaleDataTest.java Wed Jun 12 23:54:55 2013 -0700
@@ -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
+ * 7114053 7074882 7040556
* @summary Verify locale data
*
*/