JDK-4626155 : Incomplete spec for MenuBar.add(Menu)
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2002-01-19
  • Updated: 2017-05-16
  • Resolved: 2003-10-31
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.
Other
5.0 b28Fixed
Description
The API spec for java.awt.MenuBar.add(Menu) should state explicitly that if
the menu has been part of another menu bar, that menu is removed from its menu 
bar. This is very similar to the spec for Menu.add(MenuItem).

This behavior is reasonable (a menu cannot belong to two menu bars at the same time) and this is what Sun's implementation does. However, it is not formally
required, which caused TCK test exclusions.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
14-06-2004

PUBLIC COMMENTS .
10-06-2004

EVALUATION Reviewed by Brent. Fixed for tiger. ###@###.### 2003-10-16
16-10-2003