<i18n dev> RFR: 8331866: Add warnings for locale data dependence [v2]

Steven Loomis srl at openjdk.org
Thu May 9 18:05:54 UTC 2024


On Thu, 9 May 2024 17:58:34 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> src/java.base/share/classes/java/util/spi/LocaleServiceProvider.java line 157:
>> 
>>> 155:  * Note that the CLDR locale data are subject to change. Users should not assume
>>> 156:  * that the locale data remain the same across CLDR versions. Otherwise, unexpected
>>> 157:  * incompatible behaviors may occur, such as an exception on parsing a date.
>> 
>> For those wondering what has changed from one version to another or whether a particular change might have an impact after reading this note, I wonder if some kind of notes or links might be helpful. A column to the table below to add some notes? I'm sure they can always look at the CLDR release notes. Just wonder if there's anything specific worth noting or a link.
>
> IMHO, adding an extra column to describe what has changed in CLDR would seem impractical as the significance of the changes depends on each reader. Instead, I added a sentence to navigate readers to CLDR's releases page for the deltas.

right.. there's never "no change".. and any change could potentially break users if they are expecting identical behavior.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19145#discussion_r1595799429


More information about the i18n-dev mailing list