bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22997] Ignored BigInteger method return values in java.aw


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22997] Ignored BigInteger method return values in java.awt.image.IndexColorModel
Date: 8 Sep 2010 18:04:48 -0000

In classpath-0.15:

In the isValid() method of the java.awt.image.IndexColorModel class,
the setBit() and subtract() methods are called on a
BitInteger (lines 469 and 470).  However, the return values
are not captured, meaning these method calls have no effect
(because BigIntegers are immutable).

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


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


-- 


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




reply via email to

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