On Mon, 30 Jan 2023 03:02:33 GMT, Glavo <d...@openjdk.org> wrote: > > Why not use set of classes? > > Because some classes are not visible here (such as `Arrays.ArrayList`). > > I'm not sure what the best choice is, so I'm trying to explore the > implementation plan.
Only `Arrays.ArrayList` is not visible here. You can change it into package-private. ------------- PR: https://git.openjdk.org/jdk/pull/12212