On Wed, 16 Dec 2020 17:13:36 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

> The Collections.unmodifiableList() method could be recurring copy on itself 
> and have potential problems. The List.of() method is solid, and could be used 
> instead.
> 
> Code cleanup, no new regression text.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8258514

Looks fine to me.

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

Marked as reviewed by jnimeh (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1804

Reply via email to