Bug 5461 - Can't use ZipInputStream
Summary: Can't use ZipInputStream
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.1.x
Hardware: Macintosh Mac OS
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-01 15:55 UTC by Chris Hardy [MSFT]
Modified: 2012-06-11 10:47 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Repro of the problem (1.08 MB, application/zip)
2012-06-01 15:55 UTC, Chris Hardy [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Chris Hardy [MSFT] 2012-06-01 15:55:31 UTC
Created attachment 1999 [details]
Repro of the problem

When trying to do the following:

Stream sIn = Assets.Open("test.zip");
ZipInputStream zis = new ZipInputStream(sIn);

ZipEntry ze = zis.NextEntry;

zis.Close();
sIn.Close();

I get this error: 
https://gist.github.com/abf894ca465c2d4d654a

Attached in a solution that fails
Comment 1 Jonathan Pryor 2012-06-01 16:32:17 UTC
Fixed in commit 41f176f3.
Comment 2 Atsushi Eno 2012-06-11 05:00:36 UTC
Is this fixed and left open intentionally?