[infinispan-issues] [JBoss JIRA] (ISPN-5190) DefaultExecutorService throws ISE if constructed with ManagedExecutorService

Paul Ferraro (JIRA) issues at jboss.org
Wed Jan 28 05:25:49 EST 2015


     [ https://issues.jboss.org/browse/ISPN-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated ISPN-5190:
-------------------------------
    Description: 
ManagedExecutorService.isShutdown() always throws an IllegalStateException per section 3.1.6.1 "Java EE Product Provider Requirements" of the JEE concurrency specification.
However, the DefaultCacheManager constructor always calls the isShutdown() method of the delegate ExecutorService.  This prevents DefaultExecutorService from being constructed with a ManagedExecutorService.

  was:
ManagedExecutorService.isShutdown() always throws an IllegalStateException per section 3.1.6.1 "Java EE Product Provider Requirements" the JEE concurrency specification.
However, the DefaultCacheManager constructor always calls the isShutdown() method of the delegate ExecutorService.  This prevents DefaultExecutorService from being constructed with a ManagedExecutorService.



> DefaultExecutorService throws ISE if constructed with ManagedExecutorService
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-5190
>                 URL: https://issues.jboss.org/browse/ISPN-5190
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Execution and Map/Reduce
>    Affects Versions: 7.0.3.Final, 7.1.0.CR2
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>
> ManagedExecutorService.isShutdown() always throws an IllegalStateException per section 3.1.6.1 "Java EE Product Provider Requirements" of the JEE concurrency specification.
> However, the DefaultCacheManager constructor always calls the isShutdown() method of the delegate ExecutorService.  This prevents DefaultExecutorService from being constructed with a ManagedExecutorService.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list