-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0, 1.4.0
-
beta
-
generic, x86
-
generic, linux
-
Verified
Name: dkC103137 Date: 07/05/2000
The test javax/swing/JPopupMenu/4195823/bug4195823.java is not intended for
for JDK1.3. Please see evalution of related bug #4332342 below:
---------------------- cut ------------------------------
Name: pzR10082 Date: 06/19/2000
This is not Linux-specific problem; the test fails on Solaris and
NT as well.
The original bug, 4195823, says:
"The Container class has a remove(int) and remove(Component)
method. The remove(Component) method calls remove(int).
JPopupMenu overrides remove(Component) to do JPopupMenu specific
stuff. If you directly call JPopupMenu.remove(int) this specific
stuff is not done."
This `specific stuff' is not done any more; it was removed in 1.3.
JPopupMenu no more overrides add(Component) method at all and
overrides add(int) only to throw IllegalArgumentException.
The regression test fails because it checks if remove(int)
performs the `specific stuff'. So it doesn't now make sense and
will be removed from the workspace. This bug will be closed.
###@###.### 2000-06-20
---------------------- end of cut -----------------------
So this test should be removed from regression testsuite for JDK1.3.
======================================================================
- duplicates
-
JDK-4350722 Regression test bug4195823.java Failing
- Closed
- relates to
-
JDK-4332342 Linux: regression test javax/swing/JPopupMenu/4195823/bug4195823.java fails
- Closed