Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14819

BarrierWaitJob.interruptableJoin can freeze if job completes before listener is added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Beta2
    • 4.1.0.Beta2
    • common
    • 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.

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: