HHH-17916 Check type is resolved before building generic property
This commit is contained in:
parent
ca28afddaf
commit
0fa97f94b2
|
@ -291,8 +291,7 @@ public class ClassPropertyHolder extends AbstractPropertyHolder {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final TypeDetails.Kind kind = memberDetails.getType().getTypeKind();
|
if ( memberDetails.getType().isResolved() ) {
|
||||||
if ( kind != TypeDetails.Kind.TYPE_VARIABLE && kind != TypeDetails.Kind.PARAMETERIZED_TYPE ) {
|
|
||||||
// Avoid copying when the property doesn't depend on a type variable
|
// Avoid copying when the property doesn't depend on a type variable
|
||||||
propertyConsumer.accept( prop );
|
propertyConsumer.accept( prop );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue