This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in ColorModel


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]