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.
------------- Commit messages: - [PATCH] Avoid unnecessary array fill after creation in java.awt.image Changes: https://git.openjdk.org/jdk/pull/12147/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12147&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8300929 Stats: 37 lines in 5 files changed: 1 ins; 30 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/12147.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12147/head:pull/12147 PR: https://git.openjdk.org/jdk/pull/12147
