You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/11/28 17:25:05 UTC
DO NOT REPLY [Bug 25069] New: -
ResourceReader might leave the source.InputStream open
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25069>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25069
ResourceReader might leave the source.InputStream open
Summary: ResourceReader might leave the source.InputStream open
Product: Cocoon 2
Version: Current CVS 2.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: g.brand@interface-business.de
The ResourceReader doesn't encapsulate the processStream() call inside of
generate() with a try {} and finally {} to close the inputstream.
Thus the stream stays open if processStream() fails.
Attached patch will add those blocks and fix this.