Project: Eclipse_Platform_UI
Bug 146435 [DataBinding] Mocks InvocationHandler throws an exception when returning primitive type
Reported: 2006-06-11 18:20:06 | Status: verified fixed

The InvocationHandler in the Mocks class attempts to return a new type via Class.newInstance for primitives which throws an InstantiationException.

Files changed in fix:
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/BindingTestSuite.java tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/util/Mocks.java tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/util/MocksTest.java