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