RFR: 8301828: Avoid unnecessary array fill after creation in javax.swing.text

Sergey Bylokhov serb at openjdk.org
Sun Feb 5 09:24:30 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.

Looks fine.

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

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



More information about the client-libs-dev mailing list