Hi,

 

Please review a simple fix in JDK9:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-8144744 

 

Webrev : http://cr.openjdk.java.net/~jdv/8144744/webrev.00/ 

 

Issue : Specification of ImageWriter.replacePixels() mentions that Illegal 
argument exception will be thrown if argument param is null.

 

Root cause : Implementation of repalcePixels() API is in TIFFImageWriter and we 
actually use default ImageWriteParam if incoming argument param is null and 
don't throw IllegalArgumentException.

 

Solution : Remove the comment in 'Throws' clause of specification which 
mentions that IllegalArgumentException will be thrown if param is null.

 

Thanks,

Jay

 

Reply via email to