Log Message
Ensure that the reflection provider actually works.
Modified Paths
Diff
Modified: trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java (2155 => 2156)
--- trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java 2013-11-26 22:55:20 UTC (rev 2155)
+++ trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java 2013-11-26 23:02:56 UTC (rev 2156)
@@ -112,7 +112,8 @@
Class cls = loadClassForName("com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider");
if (cls != null) {
try {
- DependencyInjectionFactory.newInstance(cls, null);
+ ReflectionProvider provider = (ReflectionProvider)DependencyInjectionFactory.newInstance(cls, null);
+ provider.newInstance(JVM.class);
type = cls;
} catch (ObjectAccessException e) {
}
To unsubscribe from this list please visit:
