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

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Wed May 22 08:27:06 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775970#comment-12775970 ] 

Vlado Pakan commented on JBIDE-14405:
-------------------------------------

Please Rob could you verify and close this Jira
                
> 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