Bug in ColorModel

Tom Tromey tromey@redhat.com
Thu Jan 24 19:13:00 GMT 2002


>>>>> "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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /