tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6301] - Streams returned by getResourceAsStream don't close properly
Date Thu, 07 Feb 2002 16:16:35 GMT
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=6301>.
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=6301

Streams returned by getResourceAsStream don't close properly

james.kemp@northgate-is.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |



------- Additional Comments From james.kemp@northgate-is.com  2002-02-07 16:16 -------
puzzled by your response. 
Given that Tomcat reads web applications from the file system and not direct 
from a WAR file then I expect it to present me the contents of a resource as an 
input stream; either a real one to the file or an internal one that has 
previously been populated by the contents of the file. 
Either way when I do close I expect the underlying file to be closed, so that 
when I follow it by opening an output stream to it I can update the file and 
close it.
I don't expect a timing situtation to occur whereby the older input stream on 
the file closes and restores the old file contents.
Perhaps I'm not following your reply, can you please expand.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message