Eric Feigenson wrote:
>Thanks for your suggestions Gary... I already did exactly what you
>suggested, saving the byte array to a file, and it unzipped just fine.
OK, then try it the other way. Write a simple test-case that reads a
known-good JAR into a byte[], pass it to ZipInputStream's constructor, and
see what happens. If it fails, then you know it's something in
ZipInputStream. If it works, then odds are its the context that the
ZipInputStream constructor is being called in.
I would even test it on malformed ZIP byte[] data, say all 0's, just to see
what the constructor does with it.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden