commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Commons compress, ZipFile and finalize
Date Sat, 16 Apr 2011 19:29:17 GMT
Hello Apache Commons users,

Is there a reason why ZipFile shouldn't call it's closeQuietly or just
close on finalize?

Now (commons compress 1.1), if ZipFile is garbage collected without
being closed first, file descriptor leak will occur.

Regards,
Stevo.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message