cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1179701 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java
Date Thu, 06 Oct 2011 16:43:18 GMT
Author: dkulp
Date: Thu Oct  6 16:43:18 2011
New Revision: 1179701

URL: http://svn.apache.org/viewvc?rev=1179701&view=rev
Log:
Fix the object that invoke is being called on

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java?rev=1179701&r1=1179700&r2=1179701&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java Thu
Oct  6 16:43:18 2011
@@ -376,7 +376,7 @@ public class AutomaticWorkQueueImpl impl
                 if ((sz + sz2) > ps) {
                     Method m = ThreadPoolExecutor.class.getDeclaredMethod("addIfUnderMaximumPoolSize",
                                                                           Runnable.class);
-                    ReflectionUtil.setAccessible(m).invoke(this, new Object[1]);
+                    ReflectionUtil.setAccessible(m).invoke(executor, new Object[1]);
                 }
             } catch (Exception exc) {
                 //ignore



Mime
View raw message