HHH-16784 Always resolve generic interface classes to Object type
This commit is contained in:
parent
eb53368115
commit
fd690f378d
|
@ -227,8 +227,7 @@ public class TypeDefinition implements Serializable {
|
||||||
return createBasicTypeResolution( legacyType, typeImplementorClass, indicators, typeConfiguration );
|
return createBasicTypeResolution( legacyType, typeImplementorClass, indicators, typeConfiguration );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( indicators.getEnumeratedType() != null ) {
|
if ( typeImplementorClass.isInterface() ) {
|
||||||
assert typeImplementorClass.isInterface();
|
|
||||||
return createBasicTypeResolution( new JavaObjectType(), typeImplementorClass, indicators, typeConfiguration );
|
return createBasicTypeResolution( new JavaObjectType(), typeImplementorClass, indicators, typeConfiguration );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue