Please review the fix to the subject issue. This was found during upgrading CLDR to v44, in which some list patterns are missing (thus to be inherited from parents) in Norwegian locales which could end up with infinite parent lookup. Avoiding the recursive call and changing it to a plain loop fixes the issue. Not related to this issue, the test case has been corrected to work with any locale. Currently, it assumes English.
------------- Commit messages: - initial commit Changes: https://git.openjdk.org/jdk/pull/16042/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16042&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8317443 Stats: 15 lines in 2 files changed: 2 ins; 0 del; 13 mod Patch: https://git.openjdk.org/jdk/pull/16042.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16042/head:pull/16042 PR: https://git.openjdk.org/jdk/pull/16042