<i18n dev> RFR: 8139107: DateTimeFormatter with Locale.UK throw a NullPointerException when parsing zone

Naoto Sato naoto.sato at oracle.com
Fri Oct 9 18:37:35 UTC 2015

Hi Aleksej,

Looks good to me. Looks like this is a regression caused by the fix to 
8076287. Thanks for the fix!


On 10/9/15 9:23 AM, Aleksej Efimov wrote:
> Hi,
> Please, review the JDK9 fix for 8139107 bug [1] that solves the possible
> NPE during zone parsing by DateTimeFormatter.
> The root cause of such behavior is that generic time zone names are
> absent in "TimeZoneNames_hi" and "TimeZoneNames_en_GB" classes.
> The proposed fix changes that:
> http://cr.openjdk.java.net/~aefimov/8139107/9/00
> This bug can be reproduced only with JRE locale provider.
> Testing shows no failures with JDK regression tests. The new test also
> gives pass result.
> With Best Regards,
> Aleksej
> [1] https://bugs.openjdk.java.net/browse/JDK-8139107

More information about the i18n-dev mailing list