cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1511299 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java
Date Wed, 07 Aug 2013 13:18:52 GMT
Author: dkulp
Date: Wed Aug  7 13:18:51 2013
New Revision: 1511299

URL: http://svn.apache.org/r1511299
Log:
Actually, catch throwable as that's what the parent class does and can thus detect a wider
range of issues. (example: static inializers failing)

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java?rev=1511299&r1=1511298&r2=1511299&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/CXFExtensionBundleListener.java
Wed Aug  7 13:18:51 2013
@@ -129,9 +129,7 @@ public class CXFExtensionBundleListener 
             Throwable origExc = null;
             try {
                 c = bundle.loadClass(className);
-            } catch (NoClassDefFoundError e) {
-                origExc = e;
-            } catch (ClassNotFoundException e) {
+            } catch (Throwable e) {
                 origExc = e;
             }
             if (c == null) {



Mime
View raw message