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

Justin Lu duke at openjdk.org
Tue Nov 29 18:35:23 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 `.

This pull request has now been integrated.

Changeset: ae5b1f76
Author:    Justin Lu <justin.lu at oracle.com>
Committer: Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ae5b1f765678a9928696acb7228b197e293171be
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8297685: Typo in NullPointerException description specified by Locale.lookup

Reviewed-by: naoto, lancea, jpai

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

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


More information about the i18n-dev mailing list