RFR: 8159055: Clarify handling of null and invalid image data for ImageIcon constructors and setImage method [v25]

Alexey Ivanov aivanov at openjdk.org
Tue Aug 5 19:57:11 UTC 2025


On Tue, 5 Aug 2025 18:44:18 GMT, Phil Race <prr at openjdk.org> wrote:

> This PR seems to be back waiting on the CSR ?

Yes, because the text was updated.

Additionally, the test needs updating because it doesn't test ImageIcon(URL) constructor, it tests `ImageIcon(String)` twice.

https://github.com/openjdk/jdk/blob/c6be2a91aa37b19168985d9d6aec2f668343160c/test/jdk/javax/swing/ImageIcon/ImageIconTest.java#L69-L76

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25767#issuecomment-3156447154


More information about the client-libs-dev mailing list