Re: On the speed of jarred BootCP

"Grzegorz B. Prokopski" <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization Debian http://www.debian.org - The Free Operating System
Message-ID <[email protected]>
On Fri, 2004-10-08 at 23:49, Grzegorz B. Prokopski wrote:
> On Fri, 2004-10-08 at 17:18, Rene Wagner wrote:
> > On Fri, 2004-10-08 at 07:58, Grzegorz B. Prokopski wrote:
> > > > a) zip on my system creates v2.0 zip archives which don't work with
> > > >    the zip loader (took me some time and a lot of fprintf's to figure
> > > >    that out).
> > > 
> > > Yes, I've noticed that, forgot to mention.  I didn't get as far as
> > > gdb-ing the problem though so could you please tell me at what 
> > > statment/line it fails actually? 
> > 
> > I'm not sure about the line number. Should be somewhere around l. 438.
> > 
> >             default:            /* An error during inflation occured. */
> >               inflateEnd (&zip_stream);
> >               goto error;
> 
> Oh, that's bad.  Apparently zlib does not support the kind of
> compression zip uses, or maybe I am missing something as how to
> initialize zlib differently in some cases?  I wonder whether other
> free VMs have similar problems?

I did some experiments and I think the zip handling may be missing
some cases and _we_ might be giving zlib wrong part of file to
decompress.  After all compression_method IS set to DEFLATED which
is exactly what zlib is supposed to decompress.  I think the problem
is on our side.

I'll take a look at this when I get up.

				GBP

-- 
Grzegorz B. Prokopski      <[email protected]>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.