-
Bug
-
Resolution: Fixed
-
Major
-
5.0.4
-
-
Yes
-
Empty show more show less
-
Yes
TypeMappingImpl.getPropertyTypeDescriptor is able to process classes with properties that do not contain wildcard types, but if the class has any properties with wildcards, e.g. Set<? extends Number> the code throws the following exception:
java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.WildcardTypeImpl cannot be cast to java.lang.Class at info.magnolia.jcr.node2bean.impl.TypeMappingImpl.inferGenericTypes(TypeMappingImpl.java:151) at info.magnolia.jcr.node2bean.impl.TypeMappingImpl.getPropertyTypeDescriptor(TypeMappingImpl.java:109)
Acceptance criteria