You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2010/10/13 20:42:01 UTC
svn commit: r1022231 -
/servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java
Author: lhein
Date: Wed Oct 13 18:42:01 2010
New Revision: 1022231
URL: http://svn.apache.org/viewvc?rev=1022231&view=rev
Log:
made changes work with Java 5 (see SM-2001 and SMX4-606)
Modified:
servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java
Modified: servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java
URL: http://svn.apache.org/viewvc/servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java?rev=1022231&r1=1022230&r2=1022231&view=diff
==============================================================================
--- servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java (original)
+++ servicemix/utils/trunk/src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java Wed Oct 13 18:42:01 2010
@@ -101,7 +101,9 @@ public class ManagedExecutor extends jav
}
public boolean isAllowCoreThreadTimeout() {
- return this.internalExecutor != null && this.internalExecutor.getThreadPoolExecutor().allowsCoreThreadTimeOut();
+ return false;
+ // TODO: put me back in after switchover to Java 6
+ // return this.internalExecutor != null && this.internalExecutor.getThreadPoolExecutor().allowsCoreThreadTimeOut();
}
public long getNumberOfRejectedExecutions() {