In Kernel constructor we check for only the data length and don't verify the individual values.
Also there is no check for null data.
We need to add appropriate checks and throw exceptions.
Also there is no check for null data.
We need to add appropriate checks and throw exceptions.
- csr for
-
JDK-8371308 Add appropriate checks in java.awt.image.Kernel constructor
-
- Closed
-
- relates to
-
JDK-8371501 Change IAE to NPE in java.awt.image.Kernel when data is null
-
- In Progress
-
- links to
-
Commit(master)
openjdk/jdk/4233178a
-
Review(master)
openjdk/jdk/28127