--- old/src/share/classes/javax/imageio/ImageTypeSpecifier.java 2014-02-14 18:49:39.254211980 -0800 +++ new/src/share/classes/javax/imageio/ImageTypeSpecifier.java 2014-02-14 18:49:39.100878643 -0800 @@ -1075,7 +1075,7 @@ new Point(0, 0)); return new BufferedImage(colorModel, raster, colorModel.isAlphaPremultiplied(), - new Hashtable()); + new Hashtable<>()); } catch (NegativeArraySizeException e) { // Exception most likely thrown from a DataBuffer constructor throw new IllegalArgumentException