[cp-patches] RFC: small JMenuBar fix

Lillian Angel langel at redhat.com
Wed Jun 7 20:28:59 UTC 2006


On Wed, 2006-06-07 at 14:37 -0400, Francis Kung wrote:
> Hi,
> 
> While writing some Mauve tests, I came across a small bug in JMenuBar's
> getSubElements() method: instead of returning an array of only menu's,
> we currently insert null values for non-menu components as well.
> 
> A patch is attached.

Committed.

> 
> Regards,
> Francis
> 
> 2006-06-07  Francis Kung  <fkung at redhat.com>
> 
> 	* javax/swing/JMenuBar.java:
> 	(getSubElements): Do not return null values.
> 




More information about the Classpath-patches mailing list