Bug 37583 org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart#postAsynchRunnable possibly buggy [JUnit]
In the TestRunnerViewPart class of jdt.internal.junit.ui, lines 561 to 564 are: 561 private void postAsyncRunnable(Runnable r) { 562 if (!isDisposed()) 563 getDisplay().syncExec(r); 564 } isn't 563 supposed to read "getDisplay().asyncExec(r);"? Otherwise postAsyncRunnable is equivalent to postSyncRunnable.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
public synchronized void dispose(){
		fIsDisposed= true;
		stopTest();
		if (fProgressImages != null)
			fProgressImages.dispose();
		JUnitPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this);
		fTestRunOKIcon.dispose();
		fTestRunFailIcon.dispose();
		fStackViewIcon.dispose();
		fTestRunOKDirtyIcon.dispose();
		fTestRunFailDirtyIcon.dispose();
		if (fClipboard != null) 
			fClipboard.dispose();
	}
	private void start(final int total) {
		resetProgressBar(total);
		fCounterPanel.setTotal(total);
		fCounterPanel.setRunValue(0);	
	}
	private void resetProgressBar(final int total) {
		fProgressBar.reset();
		fProgressBar.setMaximum(total);
	}
	private void postSyncRunnable(Runnable r) {
		if (!isDisposed())
			getDisplay().syncExec(r);
	}
	private void postAsyncRunnable(Runnable r) {
		if (!isDisposed())
			getDisplay().syncExec(r);