On Thu, 7 May 2020 at 07:38, Joe Wang <huizhe.w...@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. Stephen