https://issues.apache.org/bugzilla/show_bug.cgi?id=52723
--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> --- My comment 2 was wrong. I missed that the original code closes oos (which is always null there). It should have closed the file stream instead. oos constructor can throw IOException because it writes stream header (though due to buffering it is unlikely). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org