Integrated: 8376492: NullPointer in ContextMenu sub-menu when graphic and style classes are changed while the menu is open

Dmitry Markov dmarkov at openjdk.org
Wed Feb 25 16:18:58 UTC 2026


On Fri, 13 Feb 2026 11:36:17 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.

This pull request has now been integrated.

Changeset: af6b1996
Author:    Dmitry Markov <dmarkov at openjdk.org>
Committer: Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/af6b19963a6a699aaa83fb824beab14177a45b01
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

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

Reviewed-by: angorya

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

PR: https://git.openjdk.org/jfx/pull/2075


More information about the openjfx-dev mailing list