Please review this fix. The bug was revealed while porting CLDR v39 into the JDK, where they switch the Norwegian Bokmal from "nb" to "no". [1] Some regression tests started failing with it because COMPAT provider's "nb" resource was used according to the incorrect candidate locale order.
[1] https://unicode-org.atlassian.net/browse/CLDR-2698 ------------- Commit messages: - 8261179: Norwegian Bokmål Locale fallback issue Changes: https://git.openjdk.java.net/jdk/pull/2414/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2414&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8261179 Stats: 43 lines in 2 files changed: 22 ins; 1 del; 20 mod Patch: https://git.openjdk.java.net/jdk/pull/2414.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2414/head:pull/2414 PR: https://git.openjdk.java.net/jdk/pull/2414