--- old/src/share/classes/javax/imageio/spi/ImageWriterSpi.java 2014-02-20 19:52:18.478308708 -0800 +++ new/src/share/classes/javax/imageio/spi/ImageWriterSpi.java 2014-02-20 19:52:18.324975369 -0800 @@ -83,14 +83,14 @@ * the equivalent array { ImageOutputStream.class }. */ @Deprecated - public static final Class[] STANDARD_OUTPUT_TYPE = + public static final Class[] STANDARD_OUTPUT_TYPE = { ImageOutputStream.class }; /** * An array of Class objects to be returned from * getOutputTypes, initially null. */ - protected Class[] outputTypes = null; + protected Class[] outputTypes = null; /** * An array of strings to be returned from @@ -103,7 +103,7 @@ * The Class of the writer, initially * null. */ - private Class writerClass = null; + private Class writerClass = null; /** * Constructs a blank ImageWriterSpi. It is up to @@ -198,7 +198,7 @@ String[] suffixes, String[] MIMETypes, String writerClassName, - Class[] outputTypes, + Class[] outputTypes, String[] readerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, @@ -267,7 +267,7 @@ * @return a non-null array of * Classobjects of length at least 1. */ - public Class[] getOutputTypes() { + public Class[] getOutputTypes() { return outputTypes.clone(); }