commit | f87e23abe42f2914755225133bd7cedce8a6fedb | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Fri Nov 12 11:11:30 2010 -0800 |
committer | Brian Carlstrom <bdc@google.com> | Tue Nov 23 10:05:21 2010 -0800 |
tree | 400b149691f17b4a1ecc289cdc22dca8143dd5fb | |
parent | bb2532130c1c52755916d8608b7057496c6b395a [diff] |
End the deflater when closing a ZipOutputStream. I'm not particularly happy with ZipOutputStream.close() because it doesn't call super.close(). Fixing it to call super.close() has two problems: finish() will be called conditionally (we want it always) and it won't null out 'out', which is observable to subclasses. git cherry-pick -e 1d5c4e84a256e76de529b27e7e28ed48f126fe7b http://b/3187485 Bug: 3223687