[cp-patches] RFA: JMenu Constructor Regressions

Tania Bento tbento at redhat.com
Tue Jun 20 21:06:08 UTC 2006


Hey,

This patch fixes more constructor regressions from JMenu's constructor.
I have commited a mauve test for this (constructors.java).  Again, could
someone please approve this patch so that I can commit it.  Thanks.

Here's the Changelog entry:

2006-06-20  Tania Bento  <tbento at redhat.com>

        * javax/swing/JMenu.java
        (JMenu): Delay should be set to 200, not default of 0.
        (JMenu): Delay should be set to 200, not default of 0.
        (JMenu): Delay should be set to 200, not default of 0.
        (JMenu): Delay should be set to 200, not default of 0.
        (remove): Added check that index >= 0 before removing
        the component.
        (getItem): Return null if item count equals 0.
        (isTearOff): Should throw new error and not return false.
        (getMenuComponent): Return null if popupMenu is null or
        if there are no menu components.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1892 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060620/913cee86/patch.bin


More information about the Classpath-patches mailing list