On Wed, 4 Aug 2021 09:02:25 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> JInternalFrame.getDesktopIcon() can be null as setDesktopIcon() can be called 
> with null value. There are many places in JInternalFrame where 
> getDesktopIcon() is accessed without null check which might cause NPE. 
> Added null check for those cases.

Will just stating null icon is unsupported do? I think in that case should we 
throw IAE?

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

PR: https://git.openjdk.java.net/jdk/pull/4989

Reply via email to