gcj-compiled jigsaw is running
Nic Ferrier
nferrier@tapsellferrier.co.uk
Tue May 1 04:14:00 GMT 2001
>>> 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
More information about the Java
mailing list