Log Message
Creation of XmllPullParser with the XmlPullParserFactory may fail in OSGi environment (XSTR-707).
Modified Paths
Diff
Modified: trunk/xstream/src/java/com/thoughtworks/xstream/io/xml/XppDriver.java (1983 => 1984)
--- trunk/xstream/src/java/com/thoughtworks/xstream/io/xml/XppDriver.java 2012-10-04 21:44:06 UTC (rev 1983)
+++ trunk/xstream/src/java/com/thoughtworks/xstream/io/xml/XppDriver.java 2012-10-05 21:41:03 UTC (rev 1984)
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2004, 2005, 2006 Joe Walnes.
- * Copyright (C) 2006, 2007, 2008, 2009, 2011 XStream Committers.
+ * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
@@ -54,7 +54,7 @@
*/
protected synchronized XmlPullParser createParser() throws XmlPullParserException {
if (factory == null) {
- factory = XmlPullParserFactory.newInstance(null, XppDriver.class);
+ factory = XmlPullParserFactory.newInstance();
}
return factory.newPullParser();
}
Modified: trunk/xstream-distribution/src/content/changes.html (1983 => 1984)
--- trunk/xstream-distribution/src/content/changes.html 2012-10-04 21:44:06 UTC (rev 1983)
+++ trunk/xstream-distribution/src/content/changes.html 2012-10-05 21:41:03 UTC (rev 1984)
@@ -35,6 +35,7 @@
<h2>Minor changes</h2>
<ul>
+ <li>JIRA:XSTR-707: Creation of XmllPullParser with the XmlPullParserFactory may fail in OSGi environment.</li>
<li>JIRA:XSTR-705: Unnecessary synchronization accessing the field cache decreases performance.</li>
</ul>
To unsubscribe from this list please visit:
