On 4/25/2013 5:21 PM, Naoto Sato wrote:
Hello,
Please review the fix for the following bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013086
The fix is to complement the missing display names with the provided
ones for TimeZoneNameProvider implementations.
http://cr.openjdk.java.net/~naoto/8013086/webrev.00/
Naoto
First of all, thanks for looking into this bug. I believe I filed the
bug a while ago.
I'm afraid that the fix above is not what I wanted. Your proposed fix -
fallback to standard name when daylight name is missing, and long name
when short name is missing.
I think the right fix would be querying a localized name from another
provide in the provider chain. I think a typical use case of custom
locale provider is to replace the stock JDK locale data with user's own
data. My understanding is that this was not available in Java 7, but
Java 8 can be configured to use a custom provider first, then fallback
to others (including the stock JDK locale provider).
-Yoshito