cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1521954 - /cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java
Date Wed, 11 Sep 2013 17:56:23 GMT
Author: dkulp
Date: Wed Sep 11 17:56:23 2013
New Revision: 1521954

URL: http://svn.apache.org/r1521954
Log:
Initialize the class to make sure it and anything it depends on can be found.

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java?rev=1521954&r1=1521953&r2=1521954&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java (original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/common/util/ProxyHelper.java Wed Sep 11 17:56:23
2013
@@ -69,10 +69,12 @@ public class ProxyHelper {
         for (Class<?> currentInterface : interfaces) {
             String ifName = currentInterface.getName();
             try {
-                Class<?> ifClass = Class.forName(ifName, false, loader);
+                Class<?> ifClass = Class.forName(ifName, true, loader);
                 if (ifClass != currentInterface) {
                     return false;
                 }
+            } catch (NoClassDefFoundError e) {
+                return false;
             } catch (ClassNotFoundException e) {
                 return false;
             }



Mime
View raw message