RFR: 8301220: Return value of toArray() of Сollection types from java.base should be trusted [v2]
Glavo
duke at openjdk.org
Sat Jan 28 16:18:14 UTC 2023
On Sat, 28 Jan 2023 15:34:07 GMT, Rémi Forax <forax at openjdk.org> wrote:
> This may change the startup time a lot because initializing the annotation parser (and the factory around) and creating the annotations is quite slow.
Another option is to create a class list of trusted collection types.
I will test it later, hoping that it will not load redundant classes or break bootstrap.
-------------
PR: https://git.openjdk.org/jdk/pull/12212
More information about the core-libs-dev
mailing list