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

WaitJob inside ECFTransport is not safe and is impossible to be interrupted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Beta2
    • 4.1.0.Beta1
    • common
    • None

    Description

      The WaitJob in ECFTransport is not safe and is impossible to be interrupted. This has to do with eclipse's internal implementation of Job.join(), however there are ways to work around it.

      The internal implementation of Job.join() has special logic IGNORING interrupts specifically for the case where the job being joined requires Display.syncExec implementations. Since WaitJob does not require any UI or syncExec, we can work around this by carefully implementing our own join-like method.

      See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=293312

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: