<AWT Dev> [10] Review request for 8178448: MenuBar item handler fired twice

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Aug 2 15:42:58 UTC 2017


Hi, Alex.
Is it possible to create a test for this issue? It will be similar to 
ActionListenerCalledTwiceTest

On 01.08.2017 22:34, Alexander Zvegintsev wrote:
> Hi all,
> 
> please review the fix
> 
> http://cr.openjdk.java.net/~azvegint/jdk/10/8178448/00/
> 
> for the issue
> 
> https://bugs.openjdk.java.net/browse/JDK-8178448
> 
> This Mac specific issue happens if setDefaultMenuBar() is called after 
> setJMenuBar() with same instance of JMenuBar.
> 
> JFrame.setJMenuBar(mb);
> Desktop.getDesktop().setDefaultMenuBar(mb);
> 
> -- 
> Thanks,
> Alexander.
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list