On Wed, 8 Apr 2026 17:21:43 GMT, Justin Lu <[email protected]> wrote: > The fix for null elements is done in the empty case conditional within > LocaleMatcher, since the standard cases naturally encounter NPE
What if `tags` contains `null` element, but matching element enumerates earlier in the Collection? Looks like the implementation simply returns when the matching one comes first in the loop, not caring the `null` in the rest of the collection. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30632#issuecomment-4209909844
