Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 12785 Details for
Bug 68452
I200406221600: Null monitor being passed to Jobs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to JobManager.java
JobManager.txt (text/plain), 932 bytes, created by
John Arthorne
on 2004-06-24 12:19:09 EDT
(
hide
)
Description:
Patch to JobManager.java
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2004-06-24 12:19:09 EDT
Size:
932 bytes
patch
obsolete
>Index: JobManager.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.core.runtime/src/org/eclipse/core/internal/jobs/JobManager.java,v >retrieving revision 1.91 >diff -u -r1.91 JobManager.java >--- JobManager.java 10 Jun 2004 19:28:45 -0000 1.91 >+++ JobManager.java 24 Jun 2004 16:05:28 -0000 >@@ -798,7 +798,17 @@ > //notify listeners outside sync block > jobListeners.scheduled((Job) job, delay, reschedule); > //schedule the job >- doSchedule(job, delay); >+ synchronized (lock) { >+ //must reassert scheduling conditions because listeners >+ //could reschedule the same job (bug 68452) >+ if (job.getState() == Job.RUNNING) { >+ job.setStartTime(delay); >+ return; >+ } >+ if (job.getState() != Job.NONE) >+ return; >+ doSchedule(job, delay); >+ } > //call the pool outside sync block to avoid deadlock > pool.jobQueued(job); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68452
: 12785 |
12795