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
Thanks for the report. This is fixed in CVS, by a patch that went in on 1-Jun-2005.