On Wed, 4 Sep 2024 07:25:59 GMT, Tejesh R <[email protected]> wrote:

>> I don't see a chance for that as the frame is initialized in createGUI() and 
>> there are lot of code which directly access frame object there itself, so if 
>> it was null, it would have thrown the Nullpointer even before. Anyway, I had 
>> this null check before, but removed it as per @honkar-jdk 's review comment.
>
> `Frame is assigned null after disposing which is not required and can be 
> removed.` I hope u r referring to this comment. I hope she meant to remove 
> null assignment after dispose is called.

Yes, added the null check back.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20777#discussion_r1744173520

Reply via email to