Project: SWT
Bug 216340 Display.readAndDispatch() always returns true
Reported: 2008-01-23 15:49:28 | Status: resolved fixed

readAndDispatch always returns true. sleep() isn't implemented. jface test suite relies on a while(readAndDispatch()) loop to clear events so they're not able to run their tests on WPF.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java