ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof <mart...@kruithof.xs4all.nl>
Subject Re: Pb with <unzip>+<trycatch>+<delete>
Date Fri, 19 Mar 2004 19:07:02 GMT
Martijn Kruithof wrote:

> Hi
>
> Back to the cause analysis of the gc mystery:
> It seems to me that expandFile of Expand.java (the class implementing 
> the unzip task) leaks non
> explicitly closed streams, that are very likely to lead to open file 
> handles from the expandFile
> method.
>
> I will verify and test the following patch, just don't know how to 
> test it yet
> (I haven't even verified yet if it compiles!).
>
> Kind Regards, Martijn

My bad, I see the underlying file is closed when the file is closed, 
leaving the InputStreams open,
but in a state that cannot be read from.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message