changeset 8824:25f38e64271f

8219890: [TEST_BUG] Calendar.getDisplayName() returns empty string for new Japanese Era on some locales Summary: Bug not present on OpenJDK 7, so just backport test update Reviewed-by: lancea
author andrew
date Mon, 15 Apr 2019 03:00:17 +0100
parents dba891c9a1b3
children 2acfc339e1bf
files test/java/util/Calendar/JapaneseEraNameTest.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/Calendar/JapaneseEraNameTest.java	Sat Apr 13 20:34:33 2019 +0100
+++ b/test/java/util/Calendar/JapaneseEraNameTest.java	Mon Apr 15 03:00:17 2019 +0100
@@ -56,8 +56,10 @@
             // type,    locale,  name
             { LONG,     JAPAN,   "\u5143\u53f7" }, // NewEra
             { LONG,     US,      "NewEra" },
+            { LONG,     CHINA,   "NewEra" },
             { SHORT,    JAPAN,   "N" },
             { SHORT,    US,      "N" },
+            { SHORT,    CHINA,   "N" },
         };
     }