Fix 1294260 and add a common reflectionUtils