ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Pb with <unzip>+<trycatch>+<delete>
Date Fri, 19 Mar 2004 19:11:53 GMT
> From: Martijn Kruithof []
> Back to the cause analysis of the gc mystery:
> It seems to me that expandFile of (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.

It's possible. But code at a higher level has a try/finally block
on the ZipFile, and closes it. That close method, at least for the
JDK version of ZipFile, closes all input stream on that ZipFile,
and I can only suppose Ant's own impl also does. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message