classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches]: bug fixes for exceptions


From: Lillian Angel
Subject: [cp-patches]: bug fixes for exceptions
Date: Fri, 29 Jul 2005 10:58:26 -0400

This patch fixes some unnecessary ArrayOutOfBoundsException and
NullPointerExceptions.

2005-07-29  Lillian Angel  <address@hidden>

        * javax/swing/JTextField.java
        (insertString): Added in check for null to resolve a NPE.
        * javax/swing/text/GapContent.java
        (getOffset): Added in check for mark = gapStart because
        if mark = gapStart = 0, then a negative is returned. This was
        not right.

Attachment: current.diff
Description: Text Data


reply via email to

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