assertNotNull(job.monitor);
job.setThread(Thread.currentThread());
runnable.runUnderEclipseJob(job.monitor);
} finally {
job.done(EclipseCore.createOkStatus(null));
<BUG>}
}</BUG>
public static interface IRunnableWithJob {
void runUnderEclipseJob(IProgressMonitor monitor);
}

assertNotNull(job.monitor);
job.setThread(Thread.currentThread());
runnable.runUnderEclipseJob(job.monitor);
} finally {
job.done(EclipseCore.createOkStatus(null));
}
return job;
}
public static interface IRunnableWithJob {
void runUnderEclipseJob(IProgressMonitor monitor);
