-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b10
-
generic
-
generic
Name: agR10216 Date: 02/28/2004
Frame.remove(Frame.getMenuBar()) throws NPE if the frame doesn't have
a menu bar (Frame.getMenuBar() returns null in this case), though the
doc for Frame.remove(MenuComponent m) says: "If m is null, then no
action is taken". The bug can be reproduced with the manual regression
test test/java/awt/Frame/MenuCrash if one clicks the button "Remove
Menus" twice.
###@###.### 2004-02-28
======================================================================
Frame.remove(Frame.getMenuBar()) throws NPE if the frame doesn't have
a menu bar (Frame.getMenuBar() returns null in this case), though the
doc for Frame.remove(MenuComponent m) says: "If m is null, then no
action is taken". The bug can be reproduced with the manual regression
test test/java/awt/Frame/MenuCrash if one clicks the button "Remove
Menus" twice.
###@###.### 2004-02-28
======================================================================
- duplicates
-
JDK-5039047 Regression-test java/awt/Frame/MenuCrash/MenuCrash.html fails with NPE
-
- Closed
-