[OpenJDK 2D-Dev]  request for review: 8022632: Reading a PNG file fails because of WBMPImageReaderSpi.canDecodeInput()
jennifer.godinez at oracle.com
Wed Oct 2 21:33:40 UTC 2013
On 8/30/2013 4:51 AM, Andrew Brygin wrote:
> could you please review a fix for CR 8022632?
> Bug: http://bugs.sun.com/view_bug.do?bug_id=8022632
> Webrev: http://cr.openjdk.java.net/~bae/8022632/webrev.00/
> Suggested fix just makes WBMP spi canDecodeInput() method
> more reliable in case of I/O problem. Now the stream is reset
> in a finally block, in order to guarantee that other plugins
> receive the stream in correct condition.
> Supplied regression test demonstrates the problem.
> Please take a look.
More information about the 2d-dev