[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: BoxLayout fix
From: |
Anthony Balkissoon |
Subject: |
Re: [cp-patches] Patch: BoxLayout fix |
Date: |
Tue, 06 Dec 2005 16:29:15 -0500 |
On Tue, 2005-12-06 at 15:58 -0500, Anthony Balkissoon wrote:
> I reverted this patch because it caused a Mauve regression. I'll have
> to write more tests and figure out what was wrong.
>
> regression: gnu.testlet.javax.swing.BoxLayout.maximumLayoutSize
>
Okay, here's the new patch. It doesn't cause the regression and also
makes us pass the new test:
gnu.testlet.javax.swing.BoxLayout.maximumLayoutSize2
Patch simply involves checking for overflow.
2005-12-06 Anthony Balkissoon <address@hidden>
* javax/swing/BoxLayout.java:
(maximumLayoutSize): Add Insets to Dimension and then check for
overflow.
--Tony
BoxLayoutMaxLayoutSize.diff
Description: Text Data