<i18n dev> RFR: JDK-8276302: Locale.filterTags methods ignore actual weight when matching "*" (as if it is 1) [v2]
Daniel Le
duke at openjdk.java.net
Wed Dec 22 07:33:55 UTC 2021
> 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.
Daniel Le has updated the pull request incrementally with one additional commit since the last revision:
Address most review comments
- Include "// change to lowercase for case-insensitive matching" and "//
preserving the case of the input tag" in the if branch in the for loop
of LocaleMatcher.{filterBasic,filterExtended}
- Remove LocaleMatcher.removeDuplicates since is it no longer used
- For Bug7069824.java, add 8276302 to the @bug tag and update the
copyright year to 2021
https://github.com/openjdk/jdk/pull/6789#pullrequestreview-836689415
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6789/files
- new: https://git.openjdk.java.net/jdk/pull/6789/files/85d71141..c3abb980
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6789&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6789&range=00-01
Stats: 17 lines in 2 files changed: 4 ins; 11 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/6789.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6789/head:pull/6789
PR: https://git.openjdk.java.net/jdk/pull/6789
More information about the i18n-dev
mailing list