United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4626155 : Incomplete spec for MenuBar.add(Menu)

Details
Type:
Bug
Submit Date:
2002-01-19
Status:
Resolved
Updated Date:
2003-10-31
Project Name:
JDK
Resolved Date:
2003-10-31
Component:
docs
OS:
solaris_7
Sub-Component:
guides
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
5.0 (b28)

Related Reports

Sub Tasks

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
EVALUATION

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

.
                                     
2004-06-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
generic

FIXED IN:
tiger-beta

INTEGRATED IN:
tiger-b28
tiger-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together