project_key: JBPAPP6 Method isDone() does not return true after call of cancel method() on Future object bound to call of EJB asynchronous method. Please check my test: https://github.com/ochaloup/jboss-as/blob/JBQA-5271-tests-async-pull/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/async/AsyncMethodTestCase.java#L196 It's against documentation of cancel method (http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/Future.html#cancel%28boolean%29) where is said: "After this method returns, subsequent calls to isDone() will always return true. Subsequent calls to isCancelled() will always return true if this method returned true."
Link: Added: This issue Cloned from AS7-3750
The upstream JIRA has been fixed in ejbclient 1.0.6. Assigning to Shelly and scheduling for ER7 to pull in the upstream release.
EJB Client v 1.0.8 will be in ER7.
Another pull request associated to this will be in CR1 as seen in JBPAPP-8920 https://github.com/jbossas/jboss-as/pull/2246 so moving the Fix in Version to CR for the retest.
Verified on ER8 - AsyncMethodTestCase.testCancelAsyncMethod() passes and seems OK.
Docs QE Status: Removed: NEW