[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Check and correct overflows in BorderLayout
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Check and correct overflows in BorderLayout |
Date: |
Sun, 17 Apr 2005 01:38:36 +0200 |
Hi there,
In the implementation of BorderLayout it could happen that the
xxxLayoutSize methods return wrong values. This is so because some
Components have Integer.MAX_VALUE for their getXXXSize and BorderLayout
sums them up, which leads to overflows and negative values for the
xxxLayoutSize methods. I fixed this.
2005-04-15 Roman Kennke <address@hidden>
* java/awt/BorderLayout.java
(calcSize): Check for overflow when component sizes are added.
/Roman
BorderLayout.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Check and correct overflows in BorderLayout,
Roman Kennke <=