RFR: 8297685: Typo in NullPointerException description specified by Locale.lookup
Jaikiran Pai
jpai at openjdk.org
Tue Nov 29 07:01:05 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 `.
Looks good to me.
P.S: There appears to be another PR open for this same change https://github.com/openjdk/jdk/pull/11378
-------------
Marked as reviewed by jpai (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11394
More information about the core-libs-dev
mailing list