Author: veithen
Date: Sun Feb 23 14:23:27 2014
New Revision: 1571018
URL: http://svn.apache.org/r1571018
Log:
Use correct Map type when instantiating OSGi framework (for compatibility with
newer Felix versions).
Modified:
webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java
Modified:
webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java
URL:
http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java?rev=1571018&r1=1571017&r2=1571018&view=diff
==============================================================================
---
webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java
(original)
+++
webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java
Sun Feb 23 14:23:27 2014
@@ -92,7 +92,7 @@ public class UsesConstraintsTest {
@Test
public void test() throws Exception {
System.setProperty("java.protocol.handler.pkgs", "org.ops4j.pax.url");
- Map<String,Object> p = new HashMap<String,Object>(); //
createFrameworkProperties();
+ Map<String,String> p = new HashMap<String,String>();
p.put(FRAMEWORK_STORAGE, new File("target/felix").getAbsolutePath());
p.put(FRAMEWORK_STORAGE_CLEAN, FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT);
FrameworkFactory frameworkFactory = new
org.apache.felix.framework.FrameworkFactory();