sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1582293 - /sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
Date Thu, 27 Mar 2014 13:18:20 GMT
Author: cziegeler
Date: Thu Mar 27 13:18:19 2014
New Revision: 1582293

URL: http://svn.apache.org/r1582293
Log:
SLING-3464 : The DynamicClassLoaderManager doesn't reload classes when a bundle transitions
from ACTIVE to RESOLVED

Modified:
    sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java

Modified: sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java?rev=1582293&r1=1582292&r2=1582293&view=diff
==============================================================================
--- sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
(original)
+++ sling/trunk/bundles/commons/classloader/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
Thu Mar 27 13:18:19 2014
@@ -115,7 +115,7 @@ public class Activator implements Synchr
             if ( ( event.getType() == BundleEvent.STARTED && !lazyBundle)
                  || (event.getType() == BundleEvent.STARTING && lazyBundle) ) {
                 reload = this.service.hasUnresolvedPackages(event.getBundle());
-            } else if ( event.getType() == BundleEvent.UNRESOLVED ) {
+            } else if ( event.getType() == BundleEvent.UNRESOLVED || event.getType() == BundleEvent.RESOLVED
) {
                 reload = this.service.isBundleUsed(event.getBundle().getBundleId());
             } else {
                 reload = false;



Mime
View raw message