File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-oxm/src/main/java/org/springframework/oxm/xstream Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 47
47
import com .thoughtworks .xstream .converters .reflection .ReflectionProvider ;
48
48
import com .thoughtworks .xstream .core .ClassLoaderReference ;
49
49
import com .thoughtworks .xstream .core .DefaultConverterLookup ;
50
- import com .thoughtworks .xstream .core .util .CompositeClassLoader ;
51
50
import com .thoughtworks .xstream .io .HierarchicalStreamDriver ;
52
51
import com .thoughtworks .xstream .io .HierarchicalStreamReader ;
53
52
import com .thoughtworks .xstream .io .HierarchicalStreamWriter ;
@@ -186,7 +185,8 @@ public class XStreamMarshaller extends AbstractMarshaller implements BeanClassLo
186
185
@ Nullable
187
186
private Class <?>[] supportedClasses ;
188
187
189
- private ClassLoader beanClassLoader = new CompositeClassLoader ();
188
+ @ Nullable
189
+ private ClassLoader beanClassLoader = ClassUtils .getDefaultClassLoader ();
190
190
191
191
private final SingletonSupplier <XStream > xstream = SingletonSupplier .of (this ::buildXStream );
192
192
You can’t perform that action at this time.
0 commit comments