commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Commented] (LANG-1172) LocaleUtils.toLocale does not handle extensions
Date Fri, 16 Oct 2015 15:44:06 GMT


Benedikt Ritter commented on LANG-1172:

Hello [~djbuhler],

thank you for the report. Can you provide a unit test which shows the problem?


> LocaleUtils.toLocale does not handle extensions
> -----------------------------------------------
>                 Key: LANG-1172
>                 URL:
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: David Buhler
> The {{toLocale()}} method is unable to handle locale strings that have custom extensions
that are completely valid according to the [BCP47 spec|].
Oracle documentation for sub tag extensions can be [found here|].
> An example locale string with a custom extension might be {{fr-CA-x-nb}}.
> This issue seems to have been introduced with ticket LANG-915.

This message was sent by Atlassian JIRA

View raw message