bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22995] Use of unwritten field in java.awt.image.BandedSam


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22995] Use of unwritten field in java.awt.image.BandedSampleModel
Date: 8 Sep 2010 18:04:47 -0000

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


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-06-20 
20:45 -------
Thanks for the report.  This bug is fixed by a patch that went into CVS on
8-Jun-2005.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22995




reply via email to

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