[15]: RFR: 8244245: localizedBy() should override localized values with default values
Joe Wang
huizhe.wang at oracle.com
Thu May 7 16:12:54 UTC 2020
On 5/7/2020 1:14 AM, Stephen Colebourne wrote:
> On Thu, 7 May 2020 at 07:38, Joe Wang <huizhe.wang at oracle.com> wrote:
>> The Javadoc states:
>> If the locale contains the "ca" (calendar), "nu" (numbering
>> system), "rg" (region override), and/or "tz" (timezone) Unicode
>> extensions, the chronology, numbering system and/or the zone are overridden.
>>
>> If you remove the two statements that check whether the specified locale
>> contains "ca" or "nu", would you need to update the Javadoc as well?
> Those things are checked by the methods Chronology.of(locale) and
> DecimalStyle.of(locale), so although indirect, I think the Javadoc is
> fine.
I see. Thanks.
-Joe
> Stephen
More information about the core-libs-dev
mailing list