Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-793

TP: setting an OOB thread pool shuts it down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.3, 2.7
    • None
    • None

      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().

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: