Heya Nick (and others)--

I know I've mangled the heck out of TorqueBox's LoadService implementation, but 
poking around the code, I'm wondering if JRuby itself might not be leaving 
streams dangling at times.

I see creation of LoadServiceResources, with either a File or a URL.  In my 
case, we're using a lot of URLs.

In the URL case, LoadServiceResource#getInputStream() opens the URL's 
inputStream, feeds it to a LoadServiceResourceInputStream, which immediately 
buffers the entire contents, but does not close the InputStream.

In the case of a File-backed LoadServiceResource, the File is also read 
completely, but is then closed.

Wondering if I'm missing some implicit or explicit close() occurring somewhere 
I'm not looking.

Thanks,

        -Bob
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to