--- old/src/share/classes/com/sun/imageio/plugins/common/LZWStringTable.java 2012-09-13 19:47:33.774254500 +0400 +++ new/src/share/classes/com/sun/imageio/plugins/common/LZWStringTable.java 2012-09-13 19:47:33.107216300 +0400 @@ -143,7 +143,7 @@ } static public int hash(short index, byte lastbyte) { - return ((int)((short)(lastbyte << 8) ^ index) & 0xFFFF) % HASHSIZE; + return (((short)(lastbyte << 8) ^ index) & 0xFFFF) % HASHSIZE; } /*