tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
Date Thu, 31 Jul 2003 18:40:27 GMT
kinman      2003/07/31 11:40:27

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  - Fix 20155: The strutsel-exercise-taglib application can not be compiled
  with jspc.
  
    Set up the correct class loader when running jspc.
  
  Revision  Changes    Path
  1.50      +4 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- JspC.java	22 Jul 2003 21:04:44 -0000	1.49
  +++ JspC.java	31 Jul 2003 18:40:27 -0000	1.50
  @@ -1022,6 +1022,7 @@
           URL urlsA[]=new URL[urls.size()];
           urls.toArray(urlsA);
           loader = new URLClassLoader(urlsA, this.getClass().getClassLoader());
  +        Thread.currentThread().setContextClassLoader(loader);
       }
   
       /**
  
  
  

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


Mime
View raw message