tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio J. Ortega" <na...@siapi.es>
Subject RE: [PATCH] JspInterceptor compilation class path wrong TC3.3M2
Date Fri, 27 Apr 2001 20:09:02 GMT
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