-
Bug
-
Resolution: Done
-
Major
-
4.1.0.Beta2
-
None
Because the barrierWaitJob depends on adding a job listener to do its custom join, it is possible that the job completes before the listener is added. Instead, the join() method should optionally schedule the job itself, AFTER the listener is added.
This would ensure that there can never be a case where the job can be scheduled and completed before the listener is added.