<i18n dev> RFR: 8297685: Typo in NullPointerException description specified by Locale.lookup

Naoto Sato naoto at openjdk.org
Mon Nov 28 18:18:43 UTC 2022


On Mon, 28 Nov 2022 17:53:43 GMT, Justin Lu <duke at openjdk.org> wrote:

> Problem: Javadoc in Locale.lookup is incorrect. Javadoc should match the parameter arguments. See lines 3562-3563.
> 
> Fix: For `@throws NullPointerException` replace `if priorityList or tags is null` with `if priorityList or locales is null `.

Marked as reviewed by naoto (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/11394


More information about the i18n-dev mailing list