classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Fixed overflow in javax.swing.BoxLayout


From: Roman Kennke
Subject: [cp-patches] FYI: Fixed overflow in javax.swing.BoxLayout
Date: Sun, 22 May 2005 22:36:14 +0200

I added a check for overflow in javax.swing.BoxLayout. This is necessary
because some components return a maximumSize of Integer.MAX_VALUE which
easily cause an overflow if summed up.

2005-05-22  Roman Kennke  <address@hidden>

        * javax/swing/BoxLayout.java
        (maximumLayoutSize): Added checks for overflow. This isnecessary
        because some components have maximumSize of Integer.MAX_VALUE,
        that would cause an overflow if summed up.

/Roman






reply via email to

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