<i18n dev> [8]Request for review: 8001205) Calendar.getDisplayName(...): Returns null when provider is SPI but there is no SPI implementation

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Tue Oct 30 19:43:25 PDT 2012


Question. Does the full set of available locales of JRE still become 
available with this fix? For example, when java.locale.providers=SPI, 
all JRE locales are included in the getAvailableLocales (API)? The 
fallback adapter is an interesting idea, but it's a bit confusing...

Thanks,
Masayoshi

On 10/31/2012 6:44 AM, Naoto Sato wrote:
> Hello,
>
> Please review the fix for the following bug:
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8001205
>
> The fix is simply to supply the fallback locale provider adapter for 
> the root locale, when there is no explicit "JRE" adapter is specified 
> in the locale provider preference list.
>
> The proposed fix is located at:
>
> http://cr.openjdk.java.net/~naoto/8001205/webrev.00/
>
> Naoto



More information about the i18n-dev mailing list