tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Katkere <katk...@praja.com>
Subject RE: [PATCH] JspInterceptor compilation class path wrong TC3.3M2
Date Fri, 27 Apr 2001 20:44:52 GMT
This will probably fix bug 1059
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1059). I will verify it
after your commit.

-arun

> -----Original Message-----
> From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Sent: Friday, April 27, 2001 1:09 PM
> To: 'tomcat-dev@jakarta.apache.org'
> Subject: RE: [PATCH] JspInterceptor compilation class path 
> wrong TC3.3M2
> 
> 
> good catch, 
> 
> Many Thanks i will commit it ASAP..
> 
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----
> > De: William Barker [mailto:wbarker@wilshire.com]
> > Enviado el: jueves 26 de abril de 2001 22:49
> > Para: tomcat-dev@jakarta.apache.org
> > Asunto: [PATCH] JspInterceptor compilation class path wrong TC3.3M2
> > 
> > 
> >    When setting the classpath for compilation, 
> JspInterceptor (or more
> > correctly, JasperLiaison) includes the "container" and 
> > excludes the "apps".
> > This sort of defeats the purpose of having the "apps" in the 
> > first place.
> > I've patched my copy of JspInterceptor.java as follows:
> > 
> > *** JspInterceptor.java.orig    Tue Apr  3 12:56:11 2001
> > --- JspInterceptor.java Thu Apr 26 13:52:45 2001
> > ***************
> > *** 723,730 ****
> >           Jdk11Compat jdkProxy=Jdk11Compat.getJdkCompat();
> >           URL serverCP[];
> >           URL commonCP[];
> > !         
> > serverCP=jdkProxy.getParentURLs(this.getClass().getClassLoader());
> > !         
> commonCP=jdkProxy.getURLs(this.getClass().getClassLoader());
> >         if( serverCP!=null )
> >             cpath+=separator+extractClassPath(serverCP);
> >         if( commonCP!=null )
> > --- 724,733 ----
> >           Jdk11Compat jdkProxy=Jdk11Compat.getJdkCompat();
> >           URL serverCP[];
> >           URL commonCP[];
> > !
> > !         ClassLoader parentLoader =
> > ctx.getContextManager().getParentLoader();
> > !         serverCP=jdkProxy.getURLs(parentLoader);
> > !         commonCP=jdkProxy.getParentURLs(parentLoader);
> >         if( serverCP!=null )
> >             cpath+=separator+extractClassPath(serverCP);
> >         if( commonCP!=null )
> > 
> > 
> 

Mime
View raw message