Patches item #1543247, was opened at 2006-08-20 00:06 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1543247&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jean-Baptiste Quenot (quenotj) Assigned to: Nobody/Anonymous (nobody) Summary: Close input stream in AbstractResourceStream.asString() Initial Comment: When calling FileResourceStream.asString() multiple times, FileResourceStream.getInputStream() is called multiple times as well. However getInputStream() always returns the same object, and this stream is not closed in asString(). As a matter of facts asString() cannot be called reliably more than once. The attached patch against wicket-1.2.1 ensures to close the input stream on every invocation of asString(). This method is in AbstractResourceStream. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1543247&group_id=119783 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop