On Mon, 18 Jul 2022 11:08:24 GMT, Сергей Цыпанов <d...@openjdk.org> wrote:
> For `Locale` all the call sites of `formatList()` never pass null, so the > code in `if` block is never executed. I think we can delete this unused parts > of the code in `Locale`, Are you sure about this? `pattern` is derived from `LocaleResources.getLocaleName()` which could return `null`. ------------- PR: https://git.openjdk.org/jdk/pull/9513