[12] RFR:8210490:TimeZone.getDisplayName given Locale.US doesn't always honor the Locale

Rachna Goel rachna.goel at oracle.com
Fri Sep 14 12:54:57 UTC 2018


Hi,

Kindly review fix to JDK-8210490.

Bug: https://bugs.openjdk.java.net/browse/JDK-8210490

Webrev: http://cr.openjdk.java.net/~rgoel/JDK-8210490/webrev.05/

This is a regression caused by JDK-8202537, where for timezones such as 
Etc/GMT-5, display names got formatted according to default locale.

Fix is to specify locale, which was specified in 
timezone.getDisplayName() method.

-- 
Thanks,
Rachna



More information about the core-libs-dev mailing list