Commit 1facb8d4 authored by Jesse Wilson's avatar Jesse Wilson Committed by Brian Carlstrom
Browse files

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
parent 96dfc05d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment