You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Sylvain Laurent <sy...@telkel.com> on 2000/05/19 06:04:56 UTC

Bug in org.apache.tomcat.task.Expand.execute : the jar file should be closed

I'm using the Expand class to decompress jar files and I wanted to suppress
them afterwards.

I can't delete the jar file after expansion because it is still open by
ZipInputStream.

" zis.close();" should be added at line 108... (it solved my problem)

Regards

Sylvain

----------------------------------------------------------------------------
-------------------------------
Visit Telkel at JavaOne(SM), Sun's 2000 Worldwide Java Developer
Conference(SM)
June 5-9, 2000 - Moscone Center - San Francisco