This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Bug in ColorModel
- From: "BENOWITZ,EDWARD GEORGE" <eddieb at ucla dot edu>
- To: java at gcc dot gnu dot org
- Date: Thu, 24 Jan 2002 19:06:54 -0800 (PST)
- Subject: Bug in ColorModel
I don't have linux or gcj, so I can't patch this
myself, ... but glancing at the source of
java.awt.image.ColorModel
The following seems wrong:
/**
* @see #getRed(Object)
*/
public int getAlpha(Object inData) {
return getBlue(getPixelFromArray(inData));
}
Thanks,
Eddie Benowitz