RFR: 8376492: NullPointer in ContextMenu sub-menu when graphic and style classes are changed while the menu is open [v2]

eduardsdv duke at openjdk.org
Tue Feb 24 08:44:17 UTC 2026


On Mon, 23 Feb 2026 16:18:47 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:

>> A NullPointerException occurs when a ContextMenu submenu is opened for the second time and the graphic and style classes are modified while the menu is open.
>> 
>> Fix: Added a null check.
>
> Dmitry Markov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove previous ItemStyleClassListener

Thanks for the fix.
It looks good to me.

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

PR Comment: https://git.openjdk.org/jfx/pull/2075#issuecomment-3950085226


More information about the openjfx-dev mailing list