[OpenJDK 2D-Dev] Review Request for JDK-7059970 : Test case: javax/imageio/plugins/png/ITXtTest.java is not closing a file

Jayathirth D V jayathirth.d.v at oracle.com
Thu Jul 7 11:38:48 UTC 2016



Please review the following fix in JDK9 :


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

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


Root cause : Test case ITXtTest.java is not deleting the file it is creating(test.png). Also it is not closing ImageInputStream that it is creating in between.

Fix : Close the stream and file that is used in the test case with tighter checks.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160707/47a1ce2c/attachment.html>

More information about the 2d-dev mailing list