Patch: java.util.zip.InflaterInputStream

Tom Tromey tromey@cygnus.com
Wed Aug 23 16:46:00 GMT 2000


>>>>> "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


More information about the Java-patches mailing list