Looks fine, I'll sponsor the fix.
On 22/08/2018 13:19, Alan Snyder wrote:
Please review this bug fix:
http://cr.openjdk.java.net/~alans/8146310/webrev.00/
<http://cr.openjdk.java.net/%7Ealans/8146310/webrev.00/>
https://bugs.openjdk.java.net/browse/JDK-8146310
The root of the problem is that the code to install the default menu bar
into the screen menu bar is located in the CMenuBar deactivate method.
If the default menu bar is installed when there is no active window, the
existing code in _AppMenuBarHandler attempts to trigger the deactivate
code by creating and destroying an invisible window. This does not work
if the application is inactive. The solution is to install the default
menu bar directly in this case.
If approved, I will need a sponsor…
Thank you.
 Alan
--
Best regards, Sergey.