RFR: 8301828: Avoid unnecessary array fill after creation in javax.swing.text
Sergey Bylokhov
serb at openjdk.org
Wed Feb 8 00:51:43 UTC 2023
On Thu, 26 Jan 2023 20:58:45 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> No need to fill elements of array with default values if it was just created. Java guarantees that all elements of numeric array have default values after allocations - 0.
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/12235
More information about the client-libs-dev
mailing list