On Fri, 28 Mar 2025 09:21:56 GMT, Jayathirth D V <j...@openjdk.org> wrote:
> menuBar test passes even without the fix in macOS. That's strange: for me it fails in the current master branch (the line number is different bc I just appended the test to the end of file). macOS 15.3.2. java.lang.IllegalStateException: This operation is permitted on the event thread only; currentThread = MenuBar at javafx.graphics/com.sun.glass.ui.Application.checkEventThread(Application.java:440) at javafx.graphics/com.sun.glass.ui.Application.supportsSystemMenu(Application.java:719) at javafx.graphics/com.sun.javafx.tk.quantum.GlassSystemMenu.isSupported(GlassSystemMenu.java:91) at javafx.controls/javafx.scene.control.skin.MenuBarSkin.rebuildUI(MenuBarSkin.java:822) at javafx.controls/javafx.scene.control.skin.MenuBarSkin.<init>(MenuBarSkin.java:232) ------------- PR Comment: https://git.openjdk.org/jfx/pull/1727#issuecomment-2761531100