<i18n dev> RFR: 8317443: StackOverflowError on calling ListFormat::getInstance() for Norwegian locales

Joe Wang joehw at openjdk.org
Wed Oct 4 21:53:09 UTC 2023


On Wed, 4 Oct 2023 17:17:57 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> 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.

Marked as reviewed by joehw (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16042#pullrequestreview-1658542105


More information about the i18n-dev mailing list