Log Message
Make Java 1.4 compatible.
Modified Paths
Diff
Modified: trunk/xstream/src/test/com/thoughtworks/xstream/io/json/JettisonMappedXmlDriverTest.java (2119 => 2120)
--- trunk/xstream/src/test/com/thoughtworks/xstream/io/json/JettisonMappedXmlDriverTest.java 2013-09-17 22:29:49 UTC (rev 2119)
+++ trunk/xstream/src/test/com/thoughtworks/xstream/io/json/JettisonMappedXmlDriverTest.java 2013-09-17 22:50:20 UTC (rev 2120)
@@ -89,7 +89,7 @@
Method setTypeConverter = Configuration.class.getMethod(
"setTypeConverter", new Class[]{typeConverter.getClass().getInterfaces()[0]});
Configuration config = new Configuration();
- setTypeConverter.invoke(config, typeConverter);
+ setTypeConverter.invoke(config, new Object[]{typeConverter});
xstream = new XStream(new JettisonMappedXmlDriver(config));
xstream.alias("product", Product.class);
Product product = new Product("Banana", "123", 23.00);
To unsubscribe from this list please visit:
