cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [16/16] git commit: Fix test/compile failures
Date Fri, 04 Apr 2014 15:01:52 GMT
Fix test/compile failures


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/454497ab
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/454497ab
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/454497ab

Branch: refs/heads/2.7.x-fixes
Commit: 454497ab9982c83df701947722f1e3517bb7ccc0
Parents: c31a0c2
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Apr 4 10:33:04 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Apr 4 10:33:04 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java   | 3 +++
 .../org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/454497ab/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java
index 7600deb..f772e72 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ProxyClassLoader.java
@@ -21,4 +21,7 @@ package org.apache.cxf.jaxrs.client;
 @Deprecated
 public class ProxyClassLoader extends org.apache.cxf.common.util.ProxyClassLoader {
 
+    public ProxyClassLoader() {
+        super(null);
+    }
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/454497ab/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
index 1368245..30793e0 100644
--- a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
+++ b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
@@ -58,7 +58,7 @@ public class JAXRSClientFactoryBeanTest extends Assert {
     
     @Test
     public void testCreateClientCustomLoader() throws Exception {
-        ProxyClassLoader loader = new ProxyClassLoader();
+        ProxyClassLoader loader = new ProxyClassLoader(BookStore.class.getClassLoader());
         loader.addLoader(BookStore.class.getClassLoader());
         
         JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();


Mime
View raw message