Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20717

Remove use of legacy JBoss Threads classes in StatisticsExecutorImpl

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • 37.0.0.Beta1, 37.0.0.Final
    • None
    • JCA
    • None

      org.jboss.as.connector.services.workmanager.StatisticsExecutorImpl tests the type of the Executor impl it is provided in order to cast to the concrete type and invoke getters on it. Included in its checks are ones for org.jboss.threads.JBossThreadPoolExecutor org.jboss.threads.management.ThreadPoolExecutorMBean, neither of which exist in JBoss Threads 3.9. So, this code prevents us from moving from JBoss Threads 2.4 to 3.9 (WFCORE-7045).

      Even with our JBoss Threads 2.4 integration, the Executor type that will be injected won't be either of these types, so this code can be removed.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: