--- old/src/java.desktop/unix/classes/sun/awt/X11/XMenuItemPeer.java 2016-03-31 14:50:27.952099000 +0530 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XMenuItemPeer.java 2016-03-31 14:50:27.704099000 +0530 @@ -323,11 +323,11 @@ * on menu item. * @param when the timestamp of action event */ - void action(long when) { + void action(long when, int modifiers) { if (!isSeparator() && isTargetItemEnabled()) { XWindow.postEventStatic(new ActionEvent(target, ActionEvent.ACTION_PERFORMED, getTargetActionCommand(), when, - 0)); + modifiers)); } } /************************************************