[jboss-jira] [JBoss JIRA] Created: (JGRP-793) TP: setting an OOB thread pool shuts it down

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Jun 27 03:36:31 EDT 2008


TP: setting an OOB thread pool shuts it down
--------------------------------------------

                 Key: JGRP-793
                 URL: http://jira.jboss.com/jira/browse/JGRP-793
             Project: JGroups
          Issue Type: Bug
            Reporter: Bela Ban
         Assigned To: Bela Ban
             Fix For: 2.6.3, 2.7


In TP.setOOBThreadPool, we shut down the new rather than the old thread pool !

public void setOOBThreadPool(Executor oob_thread_pool) {
        if(this.oob_thread_pool != null) {
            shutdownThreadPool(oob_thread_pool);
        }
        this.oob_thread_pool=oob_thread_pool;
    }

shutdownThreadPool(oob_thread_pool) needs to be changed to shutdownThreadPool(*this*.oob_thread_pool) !

This bug does NOT occur in setDefaultThreadPool().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list