This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj-compiled jigsaw is running
- To: per at bothner dot com, jsturm at one-point dot com
- Subject: Re: gcj-compiled jigsaw is running
- From: "Nic Ferrier" <nferrier at tapsellferrier dot co dot uk>
- Date: Tue, 01 May 2001 12:11:51 +0100
- Cc: java at gcc dot gnu dot org
>>> Jeff Sturm <jsturm@one-point.com> 01-May-01 2:15:09 AM >>>
>> But ultimately I think we want to be able to compile
>> a servlet to a shared library, and have that be loaded
>> by an appropriate ClassLoader.
>That ought to work, with the stipulation that compiled
>classes are always loaded by the system classloader
>and can never be unloaded.
Unfortunately that's not the way servlet containers are required to
work.
Servlet containers have their own paths for finding servlets. The
servlet must be loaded from these paths.
This is normally achieved by constructing a chain of CLs which
delegate (eventually) to the SystemCL.
This is the reason Paperclips was built with a modular CL
architecture. So that it was possible to plug in a GCJ compiler CL
later on with out any mucking about with GCJ.
Nic