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

Aleksej Efimov aleksej.efimov at oracle.com
Fri Oct 9 16:23:57 UTC 2015


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: 
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,

[1] https://bugs.openjdk.java.net/browse/JDK-8139107

More information about the i18n-dev mailing list