Approved.
Jennifer
On 8/30/2013 4:51 AM, Andrew Brygin wrote:
Hello,
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.
Thanks,
Andrew.