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

                 Summary: Use of unwritten field in
java.awt.image.BandedSampleModel
                 Project: classpath
            Submitted by: daveho
            Submitted on: Sat 06/18/2005 at 21:10
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

In classpath-0.15:

In the toString() method of java.awt.image.BandedSampleModel,
the field bitMasks (which is declared to be an array of
ints), is used to fetch an element.  However, this
field is never written, so there will be a null pointer
exception at this point in the code.

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







    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
Commit-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to