Skip to content


8297685: Typo in NullPointerException description specified by Locale…
Browse files Browse the repository at this point in the history

Reviewed-by: naoto, lancea, jpai
  • Loading branch information
justin-curtis-lu authored and naotoj committed Nov 29, 2022
1 parent 3ce0042 commit ae5b1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/util/
Original file line number Diff line number Diff line change
Expand Up @@ -3554,7 +3554,7 @@ public static List<String> filterTags(List<LanguageRange> priorityList,
* @param locales {@code Locale} instances used for matching
* @return the best matching {@code Locale} instance chosen based on
* priority or weight, or {@code null} if nothing matches.
* @throws NullPointerException if {@code priorityList} or {@code tags} is
* @throws NullPointerException if {@code priorityList} or {@code locales} is
* {@code null}
* @since 1.8
Expand Down

1 comment on commit ae5b1f7

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.