cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rica...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java XSPClassLoader.java
Date Sat, 15 Jan 2000 04:41:12 GMT
ricardo     00/01/14 20:41:12

  Modified:    src/org/apache/cocoon/processor/xsp/language/java
                        XSPClassLoader.java
  Log:
  Removed dependency on Java2
  
  Revision  Changes    Path
  1.4       +5 -4      xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPClassLoader.java
  
  Index: XSPClassLoader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPClassLoader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XSPClassLoader.java	2000/01/03 01:42:51	1.3
  +++ XSPClassLoader.java	2000/01/15 04:41:12	1.4
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPClassLoader.java,v 1.3 2000/01/03 01:42:51 stefano Exp $ --
  +/*-- $Id: XSPClassLoader.java,v 1.4 2000/01/15 04:41:12 ricardo Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -55,7 +55,7 @@
   
   /**
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.3 $ $Date: 2000/01/03 01:42:51 $
  + * @version $Revision: 1.4 $ $Date: 2000/01/15 04:41:12 $
    */
   public class XSPClassLoader extends ClassLoader {
     protected File repository;
  @@ -80,7 +80,8 @@
           byte[] bits = loadClassData (name);
   
           if (bits == null) {
  -          ClassLoader cl = getParent(); // Hmmm...
  +          // ClassLoader cl = getParent();
  +          ClassLoader cl = this.getClass().getClassLoader();
   
             if (cl != null)  {
               c = cl.loadClass (name);
  @@ -145,4 +146,4 @@
         return null;
       }
     }
  -}
  \ No newline at end of file
  +}
  
  
  

Mime
View raw message