[kaffe] mapping rt.jar

Adam Heath doogie at debian.org
Wed Apr 13 08:13:24 PDT 2005

On Wed, 13 Apr 2005, Hammam Mounir wrote:

> hi all;
> in file .../kaffevm/jar.c we need to map rt.jar file in memory
> (function OpenJarFile(..)), but uClinux does not support file mapping
> (CPU=ARM & OS=uClinux).
> is there any way to résolve this probleme ?.

Allocate a buffer(malloc), read entire file.  That's how dpkg copes in these
situations(even have a configure option for it).  Look at the status file
reading code(parsedb).

More information about the kaffe mailing list