classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: BoxView NPE fix


From: Roman Kennke
Subject: [cp-patches] FYI: BoxView NPE fix
Date: Thu, 20 Oct 2005 18:36:24 +0000

Hi,

One of my last changes to SizeRequirements introduced the actual use of
the total parameter, which was ignored before. However, the BoxView used
to pass a null as total parameter, which then triggers a
NullPointerException. This patch fixes that.

2005-10-20  Roman Kennke  <address@hidden>

        * javax/swing/text/BoxView.java
        (layoutMinorAxis): Calculate total requirements before calling
        the SizeRequirements utility method. Avoids an NPE.

/Roman

Attachment: BoxView.diff
Description: Text Data


reply via email to

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