|
Description:
|
The getter method of a field is used to determine the type of this field, even if field access is enabled. If no getter method is available, the determination of the type works correctly. This leads to an exception,
when a getter of a field is available that returns another type than the field type itself (see attached test case).
This is caused by the method SimpleValue.setTypeUsingReflection, which uses ReflectHelper.reflectedPropertyClass to determine the type via reflection, but without paying attention to the field access property.
|