getBootPackages reference implementation does not work with endorsed jars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-05-03 at 15:51 +0200, Edwin Steiner wrote:
> Hello!
> 
> Recently I have been working on compiling the JOnAS test suite
> with cacao and I found a problem in the implementation of
> getBootPackages: When getResources returnes an endores jar before
> glibj.zip and this jar has a META-INF/INDEX.LIST, getBootPackages
> tries to pull the boot packages only from this (first) jar.
> 
> I changed the VMClassLoader.java of cacao to read all the resources.
> The patch is appended below. Caution: As my Java skills are practically
> non-existant this may be a bad solution. It worked for me. I used
> a quick-and-dirty script to add INDEX.LIST to glibj.zip (available on
> 
>     http://c1.complang.tuwien.ac.at/cacaowiki/BootPackages
> 
> ) and with the patch to cacao the JOnAS genic tool finally worked.
> 
> You may want to make a similar change to the reference implementation
> of getBootPackages.

Can someone comment on this one?  As I'm not sure if it's correct.

TWISTI


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux