Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 295796
Collapse All | Expand All

(-)src/org/eclipse/core/internal/jobs/ThreadJob.java (-1 / +3 lines)
Lines 283-289 Link Here
283
					if (blocker == newBlocker) {
283
					if (blocker == newBlocker) {
284
						synchronized (blockingJob.jobStateLock) {
284
						synchronized (blockingJob.jobStateLock) {
285
							try {
285
							try {
286
								blockingJob.jobStateLock.wait();
286
								//blocking job may have finished before we entered sync block
287
								if (blockingJob.getState() == Job.RUNNING)
288
									blockingJob.jobStateLock.wait();
287
							} catch (InterruptedException e) {
289
							} catch (InterruptedException e) {
288
								interrupted = true;
290
								interrupted = true;
289
								// Must break here to ensure aboutToWait() is called outside the lock.
291
								// Must break here to ensure aboutToWait() is called outside the lock.

Return to bug 295796