--- old/src/java.desktop/share/classes/java/awt/image/ComponentColorModel.java 2016-07-01 15:52:49.585552370 +0530 +++ new/src/java.desktop/share/classes/java/awt/image/ComponentColorModel.java 2016-07-01 15:52:49.389552370 +0530 @@ -2925,24 +2925,4 @@ raster.getHeight(), x, y, band); } - - /** - * Compares this color model with another for equality. - * - * @param obj The object to compare with this color model. - * @return {@code true} if the color model objects are equal, - * {@code false} if they are not. - */ - public boolean equals(Object obj) { - if (!super.equals(obj)) { - return false; - } - - if (obj.getClass() != getClass()) { - return false; - } - - return true; - } - }