commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #13453] Possible NPE in gnu.java.awt.peer.gtk.GdkGraphi


From: David Hovemeyer
Subject: [commit-cp] [bug #13453] Possible NPE in gnu.java.awt.peer.gtk.GdkGraphics2D
Date: Sat, 18 Jun 2005 20:57:47 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13453>

                 Summary: Possible NPE in gnu.java.awt.peer.gtk.GdkGraphics2D
                 Project: classpath
            Submitted by: daveho
            Submitted on: Sat 06/18/2005 at 20:57
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

In classpath-0.15:

In class gnu.java.awt.peer.gtk.GdkGraphics2D, at line 513,
there is an if statement, part of which allows for the
possibility of the variable "xform" being null.  However,
inside the body of the if statement, "xform" is dereferenced.

If xform really can't be null, the check can be eliminated.

Found by FindBugs, http://findbugs.sourceforge.net







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13453>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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