tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/depend DependClassLoader.java DependClassLoader12.java
Date Wed, 12 Jun 2002 04:13:36 GMT

----- Original Message -----
From: <costinm@covalent.net>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Tuesday, June 11, 2002 7:37 PM
Subject: Re: cvs commit:
jakarta-tomcat/src/share/org/apache/tomcat/util/depend
DependClassLoader.java DependClassLoader12.java


> On Tue, 11 Jun 2002, Bill Barker wrote:
>
> > > I'll add a check.
> > >
> > > If JDK1.2 is used, we also use URLClassLoader ( and DCL12 can't
> > > be used with 1.1 ). At least with the standard set of modules.
> > >
> >
> > Unless the use11Loader="true" attribute is set on LoaderInterceptor11.
>
> :-)
>
> I missed that. Thanks. ( I think now it should work, for 1.1 we use
> SimpleClassLoader and that is checked )
>
> DCL12 just calls the parent loader, so it shouldn't lock any resource.
>
> I can roll back the change if you think there are other issues - but
> I kind of need it to extend URLClassLoader ( I can use a separate
> pacakge, but is better to reuse ).
>

I can't think of any other issues, and if any turn up I'd rather start from
here to fix them.

>
> > > I don't see any good reason to use anything but a URLClassLoader ( or
> > > extension of ) if JDK1.2 is available, it is more secure and simpler.
> >
> > The main reason is that using a URLClassLoader prevents you from being
able
> > to replace jar file in WEB-INF/lib on the fly.  Of course, it would
probably
> > be better long term to jump through all of the same hoops that Remy does
for
> > 4.x to get around this problem.
>
>
> Costin
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message