[jboss-cvs] javassist/src/main/javassist/scopedpool ...

Kabir Khan kkhan at jboss.com
Fri Feb 9 11:32:46 EST 2007


  User: kkhan   
  Date: 07/02/09 11:32:46

  Modified:    src/main/javassist/scopedpool 
                        ScopedClassPoolFactoryImpl.java
  Log:
  Differentiate between null bootstrap classloader and when the classloader has been garbage collected
  
  Revision  Changes    Path
  1.4       +3 -3      javassist/src/main/javassist/scopedpool/ScopedClassPoolFactoryImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ScopedClassPoolFactoryImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/scopedpool/ScopedClassPoolFactoryImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ScopedClassPoolFactoryImpl.java	18 Jul 2006 14:46:25 -0000	1.3
  +++ ScopedClassPoolFactoryImpl.java	9 Feb 2007 16:32:46 -0000	1.4
  @@ -21,7 +21,7 @@
    * An implementation of factory.
    *
    * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class ScopedClassPoolFactoryImpl implements ScopedClassPoolFactory {
       /**
  @@ -29,7 +29,7 @@
        */
       public ScopedClassPool create(ClassLoader cl, ClassPool src,
                                     ScopedClassPoolRepository repository) {
  -        return new ScopedClassPool(cl, src, repository);
  +        return new ScopedClassPool(cl, src, repository, false);
       }
   
       /**
  @@ -37,6 +37,6 @@
        */
       public ScopedClassPool create(ClassPool src,
                                     ScopedClassPoolRepository repository) {
  -        return new ScopedClassPool(null, src, repository);
  +        return new ScopedClassPool(null, src, repository, true);
       }
   }
  
  
  



More information about the jboss-cvs-commits mailing list