Tania Bento wrote:
Hey,

This patch fixes a bug in javax.swing.border.CompoundBorder's
isBorderOpaque() method.  The reference implementation specifications
states that this method only returns true if both the inside and outside
borders have a non-null value and both are opaque; false, otherwise.
However, the mauve test I just committed
(gnu.testlet.javax.swing.border.CompoundBorder.isBorderOpaque) shows
that if both the inside and outside borders are null, then true is
returned.  This patch fixes a failing Harmony test.

Hi Tania,

It is a good idea to report such problems (in the specification) to Sun. Although, this one has already been reported:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4778988

Looks like an easy bug to fix once the class library code is available in OpenJDK.

Regards,

Dave

Reply via email to