| Summary: | Job#canceling() is never called | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Pavel Sklenak <pavel.sklenak> |
| Component: | Runtime | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 200997 *** |
Build ID: I20080617-2000 Steps To Reproduce: I want support immediate cancellation but canceling() method is never called when stopping job via Progress View. According to javadoc it should be called - ( A hook method indicating that this job is running and {@link #cancel()} * is being called for the first time.) I investigated it and found following flow: JobManager.cancel(InternalJob) line: 256 - test for first time canceling, it never happens JobWorker$1(InternalJob).cancel() line: 144 JobWorker$1(Job).cancel() line: 194 JobInfo.cancel() line: 96 - cancel is set to true! ProgressInfoItem.cancelOrRemove() line: 324 ProgressInfoItem$1.widgetSelected(SelectionEvent) line: 229