On Mon, 23 Feb 2026 16:18:47 GMT, Dmitry Markov <[email protected]> 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 I have updated the fix based on @eduardsdv suggestion: implement removal of previous `itemStyleClassListener` in `createChildred()` method. I cannot replicate the `NPE` and do not observe that number of `itemStyleClassListener` is growing anymore. Please review the new version. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2075#issuecomment-3945787078
