[cp-patches] RFC: small JMenuBar fix

Francis Kung fkung at redhat.com
Wed Jun 7 18:37:31 UTC 2006


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.

Regards,
Francis

2006-06-07  Francis Kung  <fkung at redhat.com>

	* javax/swing/JMenuBar.java:
	(getSubElements): Do not return null values.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: JMenuBar.diff
Type: text/x-patch
Size: 1068 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060607/aaeb8521/JMenuBar.bin


More information about the Classpath-patches mailing list