RFR: 8159055: ImageIcon.setImage can't handle null parameter [v2]

Abhishek Kumar abhiscxk at openjdk.org
Thu Jun 12 06:59:32 UTC 2025


On Thu, 12 Jun 2025 06:55:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> yes..i will raise it once we are done with this PR approval..

Ok... 
Can't we just mention in the javadoc that `null image will throw an NPE` and then the code changes are not required?

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

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


More information about the client-libs-dev mailing list