Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-02-15 13:42:25 -0500
committerspingel2010-02-15 13:42:25 -0500
commit95c50359461e8492f158ff2521d83ff4d7a7ce62 (patch)
treed241a4b08990b74fb848c44aacb3320765cd53c2 /org.eclipse.mylyn.tasks.core
parentdcf5e5e255389120b767334433fa32ccfb52dc95 (diff)
downloadorg.eclipse.mylyn.tasks-95c50359461e8492f158ff2521d83ff4d7a7ce62.tar.gz
org.eclipse.mylyn.tasks-95c50359461e8492f158ff2521d83ff4d7a7ce62.tar.xz
org.eclipse.mylyn.tasks-95c50359461e8492f158ff2521d83ff4d7a7ce62.zip
RESOLVED - bug 235479: OperationCanceledException when opening task
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235479
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java
index 0ed62a3af..89f6a68d5 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java
@@ -680,13 +680,15 @@ public class TaskList implements ITaskList, ITransferList {
if (lock.getDepth() == 1) {
delta = new HashSet<TaskContainerDelta>();
}
+ // success
return;
}
} catch (InterruptedException e) {
if (ignoreInterrupts) {
- Thread.currentThread().interrupt();
+ // clear interrupted status to retry lock.aquire()
+ Thread.interrupted();
} else {
- throw new OperationCanceledException();
+ break;
}
}
}

Back to the top