On Thu, 26 Jan 2023 05:30:56 GMT, Glavo <d...@openjdk.org> wrote: > `List.of` is cleaner, and can slightly reduce the memory footprint for lists > of one or two elements. > > Because `List.of` can only store non-null elements, I have only replaced a > few usage. > > Can someone open an Issue on JBS for me?
Filed: https://bugs.openjdk.org/browse/JDK-8301604. Please let me know if the issue is not reported correctly. ------------- PR: https://git.openjdk.org/jfx/pull/1012