This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: java.util.zip.InflaterInputStream


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Hmmm. That does seem to solve my problem with the example jar
Mark> that I send.  But is it really the correct thing to do?

I think so.

Mark> Is there a way to verify that a zip/jar file is correct?

Last time I debugged the zip code I did it by loading the zip file
into Emacs using hexl mode, and then reading through the hex dump
until I could figure out what the zip reader was doing wrong.  This is
labor intensive though.

There might be another way, but I don't know it.  Maybe there is a
pedantic zip program out there that could give nice errors.

Mark> Here is the final patch. OK to commit?

Please do.  Thanks.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]