[jbosstools-issues] [JBoss JIRA] (JBIDE-14405) WaitJob inside ECFTransport is not safe and is impossible to be interrupted

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu May 9 05:32:53 EDT 2013


Rob Stryker created JBIDE-14405:
-----------------------------------

             Summary: WaitJob inside ECFTransport is not safe and is impossible to be interrupted
                 Key: JBIDE-14405
                 URL: https://issues.jboss.org/browse/JBIDE-14405
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: common/jst/core
    Affects Versions: 4.1.0.Beta1
            Reporter: Rob Stryker
            Assignee: Rob Stryker
             Fix For: 4.1.0.Beta1


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list