--- old/src/java.desktop/share/classes/sun/awt/image/PNGImageDecoder.java 2017-11-07 08:17:57.268052426 -0800 +++ new/src/java.desktop/share/classes/sun/awt/image/PNGImageDecoder.java 2017-11-07 08:17:57.108052422 -0800 @@ -89,7 +89,7 @@ private void property(String key,float value) { property(key, Float.valueOf(value)); } - private final void pngassert(boolean b) throws IOException { + private void pngassert(boolean b) throws IOException { if(!b) { PNGException e = new PNGException("Broken file"); e.printStackTrace(); @@ -692,20 +692,20 @@ fill(); return limit-pos>=n; } - private final int getInt(int pos) { + private int getInt(int pos) { return ((inbuf[pos ]&0xFF)<<24) | ((inbuf[pos+1]&0xFF)<<16) | ((inbuf[pos+2]&0xFF)<< 8) | ((inbuf[pos+3]&0xFF) ); } - private final int getShort(int pos) { + private int getShort(int pos) { return (short)(((inbuf[pos ]&0xFF)<<8) | ((inbuf[pos+1]&0xFF) )); } - private final int getByte(int pos) { + private int getByte(int pos) { return inbuf[pos]&0xFF; } - private final boolean getChunk() throws IOException { + private boolean getChunk() throws IOException { chunkLength = 0; if (!need(8)) return false; chunkLength = getInt(pos);