<i18n dev> RFR: JDK8U Backport of 8171049: Era.getDisplayName doesn't work with non-IsoChronology

Deepak Kejriwal deepak.kejriwal at oracle.com
Mon Nov 5 06:26:51 UTC 2018

Hi all,


Please review the fix for JDK8u Backport of https://bugs.openjdk.java.net/browse/JDK-8171049

Webrev: http://cr.openjdk.java.net/~rpatil/8171049/webrev.00/


Master Bug changeset and Review details:

JDK Change set: http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/965d4dde0086

JDK Review Thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-August/049037.html


New test file "TestEraDisplayName.java" added as part of fix is modified as per jdk 8 release:-  


.         All test written in jdk 10 are written to verify the CLDR resource. Since, in case of jdk 8 "CLDR" is not default locale providers, added Djava.locale.providers=CLDR as JVM parameter to test. 

.         Some resource keys in jdk 8 does not exist in both CLDR and JRE due to which Era.getDisplayName() returns numeric value. Modified such test cases accordingly. 




More information about the i18n-dev mailing list