Withdrawn: 8301220: Return value of toArray() of Сollection types from java.base should be trusted
duke
duke at openjdk.org
Mon May 29 02:32:16 UTC 2023
On Thu, 26 Jan 2023 06:46:16 GMT, Glavo <duke at openjdk.org> wrote:
> I checked the `java.base` module, and all the `Collection#toArray()` method of collections be implemented correctly.
>
> Their return values can be trusted, so many unnecessary array duplication can be eliminated.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/12212
More information about the core-libs-dev
mailing list