classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: JComponent fixlet


From: Roman Kennke
Subject: [cp-patches] FYI: JComponent fixlet
Date: Thu, 15 Dec 2005 17:50:11 +0000

Hi,

this makes my new JComponent mauve test pass. It protects the
preferredSize field by creating a new Dimension object from it before
returning the value. (Sidenote: yes, all the getPreferredSize() mauve
tests should be 'ported' to getMinimumSize() and getMaximumSize() also
and JComponent be fixed. I expect similar (expected) behaviour for these
methods. I'll do this asap).

2005-12-15  Roman Kennke  <address@hidden>

        * javax/swing/JComponent.java
        (getPreferredSize): Protect the preferredSize field from
        modification by creating a new Dimension object from it
        before returning the value.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]