<i18n dev> Integrated: JDK-8276302: Locale.filterTags methods ignore actual weight when matching "*" (as if it is 1)

Daniel Le duke at openjdk.java.net
Thu Dec 23 14:15:25 UTC 2021


On Fri, 10 Dec 2021 00:02:31 GMT, Daniel Le <duke at openjdk.java.net> wrote:

> Locale.filterTags methods ignore actual weight when matching "*" (as if
> it is 1) because LocaleMatcher.{filterBasic,filterExtended} do so.
> 
> Fix the bug and add regression test cases for it as well as existing
> behavior.

This pull request has now been integrated.

Changeset: 87cc4e50
Author:    Daniel Le <greenrecyclebin at gmail.com>
Committer: Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/87cc4e5009f6b900c62a91dda1c2f98e4821a492
Stats:     138 lines in 2 files changed: 63 ins; 65 del; 10 mod

8276302: Locale.filterTags methods ignore actual weight when matching "*" (as if it is 1)

Reviewed-by: naoto

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

PR: https://git.openjdk.java.net/jdk/pull/6789


More information about the i18n-dev mailing list