<i18n dev> RFR: 8308108: Support Unicode extension for collation settings

Andrey Turbanov aturbanov at openjdk.org
Thu May 18 09:42:49 UTC 2023


On Wed, 17 May 2023 19:40:04 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> This change intends to interpret the BCP47 U extension wrt collation settings in the given `Locale`, then applies them to the created instances in the 1-arg factory method in `Collator`. A corresponding CSR has also been drafted.

test/jdk/sun/text/resources/Collator/CollationSettingsTests.java line 43:

> 41: 
> 42: public class CollationSettingsTests {
> 43:     private static final Collator ENG_DEF =  Collator.getInstance(Locale.ENGLISH);

nit
Suggestion:

    private static final Collator ENG_DEF = Collator.getInstance(Locale.ENGLISH);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14040#discussion_r1197616430


More information about the i18n-dev mailing list