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]

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




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