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> The following patch catches the case where there is no more data
Mark> to feed to the Inflater and throws an EOFException which is a
Mark> bit nicer and more descriptive then the InternalError.

Shouldn't we just return -1?

Mark> This doesn't solve my problem though.
Mark> But maybe the jar file us just corrupt, although the java for linux
Mark> from IBM doesn't have any problem with it.

It's more likely that other bugs remain in libgcj.
I might be able to look at this tomorrow.

Tom

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