@@ -65,10 +65,10 @@ protected TypeIdResolver idResolver(MapperConfig<?> config,
65
65
switch (_idType ) {
66
66
case CLASS :
67
67
return new XmlClassNameIdResolver (baseType , config .getTypeFactory (),
68
- subTypeValidator (config ));
68
+ subtypes , subTypeValidator (config ));
69
69
case MINIMAL_CLASS :
70
70
return new XmlMinimalClassNameIdResolver (baseType , config .getTypeFactory (),
71
- subTypeValidator (config ));
71
+ subtypes , subTypeValidator (config ));
72
72
default :
73
73
}
74
74
return super .idResolver (config , baseType , subtypeValidator , subtypes , forSer , forDeser );
@@ -131,9 +131,9 @@ protected static class XmlClassNameIdResolver
131
131
private static final long serialVersionUID = 2L ;
132
132
133
133
public XmlClassNameIdResolver (JavaType baseType , TypeFactory typeFactory ,
134
- PolymorphicTypeValidator ptv )
134
+ Collection < NamedType > subtypes , PolymorphicTypeValidator ptv )
135
135
{
136
- super (baseType , typeFactory , ptv );
136
+ super (baseType , typeFactory , subtypes , ptv );
137
137
}
138
138
139
139
@ Override
@@ -154,9 +154,9 @@ protected static class XmlMinimalClassNameIdResolver
154
154
private static final long serialVersionUID = 2L ;
155
155
156
156
public XmlMinimalClassNameIdResolver (JavaType baseType , TypeFactory typeFactory ,
157
- PolymorphicTypeValidator ptv )
157
+ Collection < NamedType > subtypes , PolymorphicTypeValidator ptv )
158
158
{
159
- super (baseType , typeFactory , ptv );
159
+ super (baseType , typeFactory , subtypes , ptv );
160
160
}
161
161
162
162
@ Override
0 commit comments