cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <>
Subject Re: [C2] collapse ParanoidCocoonServlet into CocoonServlet itself?
Date Tue, 22 May 2001 12:38:53 GMT

Shall i give it a shot (at merging both)? Three environments that i have access to right now
Tomcat 3.2, Tomcat 4.0 and ServletExec 3.1 (which definitely has a broken class-loader). 


--- Berin Loritsch <> wrote:
> Davanum Srinivas wrote:
> > 
> > Berin,
> > To enhance "Out of Box" Experience and reduce frustration for beginners, can we
collapse the
> two?
> > I don't see any performance hit because of the changes (as parent class-loaders
are always
> queried
> > first).
> Actually that is the whole problem.  We need to reverse that approach for the
> ParanoidCocoonServlet.  In reality, we want to load classes from the ClassLoader
> we instantiate, and if (only if) it isn't found, we go to the parent classloader.
> I understand what you are saying, but they really are two different animals.  If
> we always load the classes in our own classloader, then we are subject to package
> sealing violation exceptions.
> I never have gotten around to writing the classloader that operates opposite to
> the way Sun set them up.  Honestly, there are exceptions to that rule where you
> don't want a ParentClassLoader to load first.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

Davanum Srinivas, JNI-FAQ Manager

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

To unsubscribe, e-mail:
For additional commands, email:

View raw message