You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2013/11/18 22:34:31 UTC

svn commit: r1543172 - /river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java

Author: peter_firmstone
Date: Mon Nov 18 21:34:31 2013
New Revision: 1543172

URL: http://svn.apache.org/r1543172
Log:
RIVER-428 - trial use of another ClassLoader for tests. 

Modified:
    river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java

Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java?rev=1543172&r1=1543171&r2=1543172&view=diff
==============================================================================
--- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java (original)
+++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java Mon Nov 18 21:34:31 2013
@@ -72,6 +72,7 @@ import net.jini.jeri.BasicILFactory;
 import net.jini.jeri.tcp.TcpServerEndpoint;
 import net.jini.security.ProxyPreparer;
 import net.jini.url.httpmd.HttpmdUtil;
+import org.apache.river.api.net.RFC3986URLClassLoader;
 
 /**
  * This class represents the environment for tests running in
@@ -441,7 +442,7 @@ public class QAConfig implements Seriali
 	    }
 	    try {
 		URL testJarURL = testJarFile.getCanonicalFile().toURI().toURL();
-		testLoader = new URLClassLoader(new URL[]{testJarURL},
+		testLoader = new RFC3986URLClassLoader(new URL[]{testJarURL},
 						getClass().getClassLoader());
 	    } catch (Exception e) {
 		throw new TestException("Failed to create test loader", e);