8207152: Placeholder for Japanese new era should be two characters

Reviewed-by: rriggs
This commit is contained in:
Naoto Sato 2018-07-12 11:24:10 -07:00
parent d808684592
commit 0df02a4cb8
3 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ public class FormatData_ja extends ParallelListResourceBundle {
"\u5927\u6b63", // Taisho
"\u662d\u548c", // Showa
"\u5e73\u6210", // Heisei
"\u65b0\u5143\u53f7", // NewEra
"\u5143\u53f7", // NewEra
};
final String[] rocEras = {
"\u6c11\u56fd\u524d",

View File

@ -154,7 +154,7 @@ public class JavaTimeSupplementary_ja extends OpenListResourceBundle {
"\u5927\u6b63",
"\u662d\u548c",
"\u5e73\u6210",
"\u65b0\u5143\u53f7", // NewEra
"\u5143\u53f7", // NewEra
};
final String[] sharedJavaTimeShortEras = {

View File

@ -23,7 +23,7 @@
/*
* @test
* @bug 8202088
* @bug 8202088 8207152
* @summary Test the localized Japanese new era name (May 1st. 2019-)
* is retrieved no matter CLDR provider contains the name or not.
* @modules jdk.localedata
@ -51,7 +51,7 @@ public class JapaneseEraNameTest {
Object[][] names() {
return new Object[][] {
// type, locale, name
{ LONG, JAPAN, "\u65b0\u5143\u53f7" }, // NewEra
{ LONG, JAPAN, "\u5143\u53f7" }, // NewEra
{ LONG, US, "NewEra" },
{ SHORT, JAPAN, "N" },
{ SHORT, US, "N" },