On Mon, 1 Nov 2021 15:04:16 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

> Please review this PR. A comprehensive test job has been scheduled; I'll 
> notify this thread once that job has completed.

src/java.base/share/classes/sun/util/resources/LocaleData.java line 336:

> 334:         public List<Locale> getCandidateLocales(String baseName, Locale 
> locale) {
> 335:             // Specify only the given locale
> 336:             return List.of(locale);

Is it guaranteed that `locale` is not `null` here?

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

PR: https://git.openjdk.java.net/jdk/pull/6191

Reply via email to