RFR: 8301220: Return value of toArray() of Сollection types from java.base should be trusted [v3]

Glavo duke at openjdk.org
Mon Jan 30 03:05:16 UTC 2023


On Mon, 30 Jan 2023 02:57:52 GMT, Tingjun Yuan <duke at 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.

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

PR: https://git.openjdk.org/jdk/pull/12212


More information about the core-libs-dev mailing list