Re: RFR: 5015261: JInternalFrame causes NPE [v5]

2021-08-21 Thread Phil Race
On Thu, 19 Aug 2021 16:48:46 GMT, Prasanta Sadhukhan 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

Re: RFR: 5015261: JInternalFrame causes NPE [v5]

2021-08-19 Thread Prasanta Sadhukhan
On Thu, 19 Aug 2021 16:48:46 GMT, Prasanta Sadhukhan 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

Re: RFR: 5015261: JInternalFrame causes NPE [v5]

2021-08-19 Thread Sergey Bylokhov
On Thu, 19 Aug 2021 16:48:46 GMT, Prasanta Sadhukhan 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

Re: RFR: 5015261: JInternalFrame causes NPE [v5]

2021-08-19 Thread Prasanta Sadhukhan
> 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. Prasanta Sadhukhan has updated the pull