protected IStatus run(IProgressMonitor monitor) {
this.monitor = monitor;
jobStartLatch.countDown();
return ASYNC_FINISH;
}
<BUG>public static void runUnderAsynchJob(String jobName, IRunnableWithJob runnable) throws InterruptedException {
EclipseAsynchJobAdapter job = new EclipseAsynchJobAdapter(jobName);</BUG>
job.schedule();
try {
job.jobStartLatch.await();

protected IStatus run(IProgressMonitor monitor) {
this.monitor = monitor;
jobStartLatch.countDown();
return ASYNC_FINISH;
}
public static Job runUnderAsynchJob(
String jobName, IRunnableWithJob runnable
) throws InterruptedException {
EclipseAsynchJobAdapter job = new EclipseAsynchJobAdapter(jobName);
job.schedule();
try {
job.jobStartLatch.await();
