This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bug in ColorModel
- From: Tom Tromey <tromey at redhat dot com>
- To: "BENOWITZ,EDWARD GEORGE" <eddieb at ucla dot edu>
- Cc: java at gcc dot gnu dot org
- Date: 24 Jan 2002 20:31:27 -0700
- Subject: Re: Bug in ColorModel
- References: <Pine.SOL.4.05.10201241905470.7427-100000@margay.noc.ucla.edu>
- Reply-to: tromey at redhat dot com
>>>>> "Eddie" == BENOWITZ,EDWARD GEORGE <eddieb@ucla.edu> writes:
Eddie> I don't have linux or gcj, so I can't patch this
Eddie> myself, ... but glancing at the source of
Eddie> java.awt.image.ColorModel
Eddie> The following seems wrong:
Eddie> /**
Eddie> * @see #getRed(Object)
Eddie> */
Eddie> public int getAlpha(Object inData) {
Eddie> return getBlue(getPixelFromArray(inData));
Eddie> }
Thanks for catching this.
I definitely agree this is wrong.
I have a fix which I'll check in soon.
Tom