openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject svn commit: r1843999 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Tue, 16 Oct 2018 12:29:38 GMT
Author: tandraschko
Date: Tue Oct 16 12:29:37 2018
New Revision: 1843999

URL: http://svn.apache.org/viewvc?rev=1843999&view=rev
Log:
OWB-1264

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1843999&r1=1843998&r2=1843999&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Tue Oct 16 12:29:37 2018
@@ -1355,6 +1355,10 @@ public class BeansDeployer
                         continue;
                     }
 
+                    // trigger a NoClassDefFoundError here, otherwise it would be thrown
in observer methods
+                    annotatedType.getJavaClass().getDeclaredMethods();
+                    annotatedType.getJavaClass().getDeclaredFields();
+
                     // Fires ProcessAnnotatedType
                     if (!annotatedType.getJavaClass().isAnnotation())
                     {



Mime
View raw message