Tom Tromey wrote:
Archie> VMClassLoader.getResource() does not handle ZIP files on the
Archie> boot loader class path. The attached patch fixes this.

I've been working in this area recently for libgcj.

What I ended up doing is creating a helper subclass of URLClassLoader
that has some additional methods (to wrap findClass() and the like --
an in particular to avoid delegation).  Then I made VMClassLoader use
this.  This has the nice quality that it can handle any kind of URL
without duplicating any of the code in URLClassLoader.

We could bless this as an official approach and put it in the
Classpath reference implementation.

That sounds like a decent approach. Do you plan to commit that soon? If not I can commit my patch as an interim solution.

-Achie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to