diff -r 1c8b81ff863e -r 75686e8da573 src/java.desktop/share/classes/java/awt/image/IndexColorModel.java --- a/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java Wed Nov 22 13:52:48 2017 -0800 +++ b/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java Wed Nov 22 14:04:51 2017 -0800 @@ -755,7 +755,7 @@ * value is used to mask off the pixel parameters for methods such * as getRed(), getGreen(), getBlue(), getAlpha(), and getRGB(). */ - private final void calculatePixelMask() { + private void calculatePixelMask() { // Note that we adjust the mask so that our masking behavior here // is consistent with that of our native rendering loops. int maskbits = pixel_bits;