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
return;	
				if (fFirstFailure != null && fAutoScroll) {
					fActiveRunView.setSelectedTest(fFirstFailure.getTestId());
					handleTestSelected(fFirstFailure.getTestId());
				}
				updateViewIcon();
				if (fDirtyListener == null) {
					fDirtyListener= new DirtyListener();
					JavaCore.addElementChangedListener(fDirtyListener);
				}
			}
		});	
	}
	private void updateViewIcon() {
		if (hasErrorsOrFailures()) 
			fViewImage= fTestRunFailIcon;
		else 
			fViewImage= fTestRunOKIcon;
		firePropertyChange(IWorkbenchPart.PROP_TITLE);	
	}
	private boolean hasErrorsOrFailures() {
		return fErrors+fFailures > 0;
	}
	private String elapsedTimeAsString(long runTime) {
		return NumberFormat.getInstance().format((double)runTime/1000);
	}
	/*
	 * @see ITestRunListener#testRunStopped
	 */
	public void testRunStopped(final long elapsedTime) {