-
Bug
-
Resolution: Unresolved
-
P4
-
8, 11, 17, 22, 23
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
A `IndexColorModel` that does not support alpha will return black (or the color closest to black) every time when calling `IndexColorModel#getDataElements(int[], int, Object)`. This seems to be caused by an erroneous bitwise-and instead of a bitwise-or used to set the alpha component to 0xFF when the color model does not support alpha (see https://github.com/openjdk/jdk/blob/8feabc849ba2f617c8c6dbb2ec5074297beb6437/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java#L1287).
FREQUENCY : always
A `IndexColorModel` that does not support alpha will return black (or the color closest to black) every time when calling `IndexColorModel#getDataElements(int[], int, Object)`. This seems to be caused by an erroneous bitwise-and instead of a bitwise-or used to set the alpha component to 0xFF when the color model does not support alpha (see https://github.com/openjdk/jdk/blob/8feabc849ba2f617c8c6dbb2ec5074297beb6437/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java#L1287).
FREQUENCY : always