This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj-compiled jigsaw is running


>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]