geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1452482 - /geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java
Date Mon, 04 Mar 2013 20:23:53 GMT
Author: struberg
Date: Mon Mar  4 20:23:53 2013
New Revision: 1452482

URL: http://svn.apache.org/r1452482
Log:
XBEAN-238 also handle NoClassDefFound

txs to rmannibucau for the patch. Applied with minor changes

Modified:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java

Modified: geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java?rev=1452482&r1=1452481&r2=1452482&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java
(original)
+++ geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AnnotationFinder.java
Mon Mar  4 20:23:53 2013
@@ -740,6 +740,8 @@ public class AnnotationFinder implements
                     }
                 } catch (ClassNotFoundException e) {
                     classesNotLoaded.add(classInfo.getName());
+                } catch (NoClassDefFoundError ncdfe) {
+                    classesNotLoaded.add(classInfo.getName());
                 }
             }
         }
@@ -799,6 +801,8 @@ public class AnnotationFinder implements
                     }
                 } catch (ClassNotFoundException e) {
                     classesNotLoaded.add(classInfo.getName());
+                } catch (NoClassDefFoundError ncdfe) {
+                    classesNotLoaded.add(classInfo.getName());
                 }
             }
         }
@@ -831,6 +835,8 @@ public class AnnotationFinder implements
                         }
                     } catch (ClassNotFoundException e) {
                         classesNotLoaded.add(classInfo.getName());
+                    } catch (NoClassDefFoundError ncdfe) {
+                        classesNotLoaded.add(classInfo.getName());
                     }
                 } else {
                     try {



Mime
View raw message