JDK-7124537 : [macosx] Menu shortcuts for all menu items should be disabled if a menu itself is disabled
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2014-10-09
  • Resolved: 2012-04-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u4 b18Fixed 8Fixed
http://java.net/jira/browse/MACOSX_PORT-536 submitted 2011/10/11 by Yuri Nesterenko
In an attached example, second element of menu (m2) is disabled.
...Well, this doesn't work, either, it seems.
For that or another reason, menu shortcuts still work for items of this menu. They should not.

SUGGESTED FIX http://cr.openjdk.java.net/~serb/7124537/webrev.00/

EVALUATION Author: Yuri Nesterenko Date: 11/Oct/11 01:13 PM Build: b211 closed/java/awt/Menu/DisabledShortcut/DisabledShortcut.java