git: openjdk/jdk: master: 8159055: Clarify handling of null and invalid image data for ImageIcon constructors and setImage method

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Aug 26 05:30:08 UTC 2025


Changeset: 98e64cff
Branch: master
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
Date:      2025-08-26 05:29:16 +0000
URL:       https://git.openjdk.org/jdk/commit/98e64cffff24ec8b8abeb7afd121e58bc53ed034

8159055: Clarify handling of null and invalid image data for ImageIcon constructors and setImage method

Reviewed-by: aivanov, prr, abhiscxk, kizune, serb

! src/java.desktop/share/classes/javax/swing/ImageIcon.java
+ test/jdk/javax/swing/ImageIcon/ImageIconTest.java



More information about the jdk-changes mailing list