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

Justin Lu duke at openjdk.org
Mon Nov 28 18:18:42 UTC 2022


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 `.

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

Commit messages:
 - Replace tags with locales in javadoc for locale.lookup

Changes: https://git.openjdk.org/jdk/pull/11394/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11394&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297685
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11394.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11394/head:pull/11394

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


More information about the i18n-dev mailing list