[
https://issues.jboss.org/browse/JBIDE-14405?page=com.atlassian.jira.plugi...
]
Rob Stryker resolved JBIDE-14405.
---------------------------------
Resolution: Done
our fix pushed to b2
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.Beta2
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