File tree 2 files changed +3
-3
lines changed
spring-oxm/src/main/java/org/springframework/oxm/xstream
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ configure(allprojects) { project ->
184
184
dependency " org.testng:testng:7.3.0"
185
185
dependency " org.hamcrest:hamcrest:2.1"
186
186
dependency " org.awaitility:awaitility:3.1.6"
187
- dependency " org.assertj:assertj-core:3.16 .1"
187
+ dependency " org.assertj:assertj-core:3.17 .1"
188
188
dependencySet(group : ' org.xmlunit' , version : ' 2.6.2' ) {
189
189
entry ' xmlunit-assertj'
190
190
entry(' xmlunit-matchers' ) {
Original file line number Diff line number Diff line change 46
46
import com .thoughtworks .xstream .converters .reflection .ReflectionProvider ;
47
47
import com .thoughtworks .xstream .core .ClassLoaderReference ;
48
48
import com .thoughtworks .xstream .core .DefaultConverterLookup ;
49
- import com .thoughtworks .xstream .core .util .CompositeClassLoader ;
50
49
import com .thoughtworks .xstream .io .HierarchicalStreamDriver ;
51
50
import com .thoughtworks .xstream .io .HierarchicalStreamReader ;
52
51
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