Bug 147545 [DataBinding] When attempting to fire a stale event AbstractObservable throws ClassCastException
The code in AbstractObservable for the firing of stale events appears to be incomplete. When listeners are added they're added as type IStaleListener but when retrieved they're cast to IChangeListener. I'm assuming that code was copied from the change listener code but not completed. Attaching patch...
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/BindingTestSuite.java
addTestSuite(DefaultBindSupportFactoryFloatPrimitiveTest.class);
		addTestSuite(ObjectToPrimitiveValidatorTest.class);
		addTestSuite(IdentityConverterTest.class);
		addTestSuite(LazyListBindingTest.class);
		addTestSuite(EventEditorObservableLazyDataRequestorTest.class);
		addTestSuite(EditMaskLexerAndTokenTest.class);
		addTestSuite(SelectionProviderSingleSelectionObservableValueTest.class);
		addTestSuite(ViewersObservableFactoryTest.class);
	}
	/**
	 * @param testCase
	 *            TODO
	 * @return true if the given test is temporarily disabled
	 */
	public static boolean failingTestsDisabled(TestCase testCase) {
		System.out.println("Ignoring disabled test: "
				+ testCase.getClass().getName() + "." + testCase.getName());
		return true;
	}
	/**
	 * @param testSuite
	 *            TODO
	 * @return true if the given test is temporarily disabled
	 */
	public static boolean failingTestsDisabled(TestSuite testSuite) {
		System.out.println("Ignoring disabled test: "
				+ testSuite.getClass().getName() + "." + testSuite.getName());
		return true;
	}
}