On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov wrote:
> No need to fill elements of array with `null`: it was just created. Java
> guarantees that all elements of array are `null`s anyway.
Marked as reviewed by serb (Reviewer).
-
PR: https://git.openjdk.org/jdk/pull/12101
On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov wrote:
> No need to fill elements of array with `null`: it was just created. Java
> guarantees that all elements of array are `null`s anyway.
Marked as reviewed by prr (Reviewer).
-
PR: https://git.openjdk.org/jdk/pull/12101
On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov wrote:
> No need to fill elements of array with `null`: it was just created. Java
> guarantees that all elements of array are `null`s anyway.
looks fine
-
PR: https://git.openjdk.org/jdk/pull/12101
On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov wrote:
> No need to fill elements of array with `null`: it was just created. Java
> guarantees that all elements of array are `null`s anyway.
Marked as reviewed by swi...@github.com (no known OpenJDK username).
-
PR: https://git.op
No need to fill elements of array with `null`: it was just created. Java
guarantees that all elements of array are `null`s anyway.
-
Commit messages:
- [PATCH] Avoid unnecessary array fill after creation
Changes: https://git.openjdk.org/jdk/pull/12101/files
Webrev: https://webrevs