`java.awt.image.Kernel` constructor doesn't validate all input values and we need to add appropriate checks. A new test is also added to make sure we appropriate exception when invalid values are passed.
This will also need a CSR. ------------- Commit messages: - 8368729: Add appropriate checks in java.awt.image.Kernel constructor Changes: https://git.openjdk.org/jdk/pull/28127/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28127&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8368729 Stats: 83 lines in 2 files changed: 77 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/28127.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28127/head:pull/28127 PR: https://git.openjdk.org/jdk/pull/28127
