This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: make java.awt.Font.equals tolerant of null from getTransform


The attached tiny patch fixes a NullPointerException in Font.equals.

OK to commit?

Background:
 http://gcc.gnu.org/ml/java/2004-01/msg00105.html
 http://gcc.gnu.org/ml/java-patches/2004-q1/msg00099.html

Index: libjava/ChangeLog
from Scott Gilbertson <scottg@mantatest.com>
* java/awt/Font.java (equals): test for null from getTransform

Attachment: 20040128_FontEqualsNullCheck.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]