-
Type:
Bug
-
Resolution: Incomplete
-
Priority:
P4
-
None
-
Affects Version/s: 19
-
Component/s: core-libs
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Calling the isDone method returns false, but Callable is running. This is easily detected when the task is time-consuming
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1、Create a thread pool through Executors and submit a time-consuming task.
2、Call the isDone of the returned Future, and the return result is false
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The submitted task has not started execution.
ACTUAL -
The submitted task is currently executing.
CUSTOMER SUBMITTED WORKAROUND :
Increase the RUNNING status between NEW and COMPLETING.
FREQUENCY : always
Calling the isDone method returns false, but Callable is running. This is easily detected when the task is time-consuming
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1、Create a thread pool through Executors and submit a time-consuming task.
2、Call the isDone of the returned Future, and the return result is false
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The submitted task has not started execution.
ACTUAL -
The submitted task is currently executing.
CUSTOMER SUBMITTED WORKAROUND :
Increase the RUNNING status between NEW and COMPLETING.
FREQUENCY : always