On Wed, 9 Jul 2025 18:39:40 GMT, Naoto Sato <na...@openjdk.org> wrote:
> Replaced Collections.emptyList() with List.of() as part of refactoring. This > was discussed in the context of investigating a CDS-related issue > (https://bugs.openjdk.org/browse/JDK-8357281?focusedId=14796714&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14796714). > Although the root cause was ultimately determined to be user error, > modernizing the code by using List.of() is still a desirable improvement This pull request has now been integrated. Changeset: f5afbbd3 Author: Naoto Sato <na...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f5afbbd32a0f46973664a228e6799fb1a958cd51 Stats: 5 lines in 2 files changed: 0 ins; 2 del; 3 mod 8361717: Refactor Collections.emptyList() in Locale related classes Reviewed-by: bpb, jlu, liach, cstein ------------- PR: https://git.openjdk.org/jdk/pull/26225