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. ------------- Commit messages: - Locale.filterTags must respect the weight of "*" Changes: https://git.openjdk.java.net/jdk/pull/6789/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6789&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8276302 Stats: 121 lines in 2 files changed: 59 ins; 54 del; 8 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