classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: GdkGraphics2D.setFont fixlet


From: Roman Kennke
Subject: [cp-patches] FYI: GdkGraphics2D.setFont fixlet
Date: Fri, 23 Sep 2005 23:38:41 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

Lillians last patch caused an NPE with Graphics2D enabled. The reason is
that Graphics.setFont should actually accept null fonts without
complaining and siomply leave the current font setting unchanged. I fixed
this.

2005-09-23  Roman Kennke  <address@hidden>

        * gnu/java/awt/peer/gtk/GdkGraphics2D.java
        (setFont): If font == null, simply return. Avoids a NPE.

/Roman

Attachment: GdkGraphics2D.diff
Description: Text Data


reply via email to

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