On Wed, 9 Jul 2025 18:39:40 GMT, Naoto Sato <na...@openjdk.org> wrote:

>  modernizing the code by using List.of() is still a desirable improvement

except that `Collections.emptyList()` and `List.of()` unfortunately have 
different tolerance to calls `List.indexOf(null)` and `List.contains(null)`.

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

PR Comment: https://git.openjdk.org/jdk/pull/26225#issuecomment-3053718956

Reply via email to