-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: client-libs
-
None
-
b27
-
generic
-
generic
After JDK-8368729, the java.awt.image.Kernel constructor started to throw IAE when the data array is null.
It is common practice in the jdk to throw NPE for null arguments. Some other API in the same package throw NPE as well.
NPE also matches the old behavior beforeJDK-8368729, where NPE was thrown, but not specified.
It is common practice in the jdk to throw NPE for null arguments. Some other API in the same package throw NPE as well.
NPE also matches the old behavior before
- csr for
-
JDK-8372379 Change IAE to NPE in java.awt.image.Kernel when data is null
-
- Closed
-
- relates to
-
JDK-8368729 Add appropriate checks in java.awt.image.Kernel constructor
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/37cd8d6c
-
Review(master)
openjdk/jdk/28249