openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1798740 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
Date Wed, 14 Jun 2017 19:28:51 GMT
Author: struberg
Date: Wed Jun 14 19:28:51 2017
New Revision: 1798740

URL: http://svn.apache.org/viewvc?rev=1798740&view=rev
Log:
OWB-1192 BM#createInstance() must not be called before AfterDeploymentValidation

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java?rev=1798740&r1=1798739&r2=1798740&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
Wed Jun 14 19:28:51 2017
@@ -142,6 +142,7 @@ public class InjectableBeanManager imple
     @Override
     public Instance<Object> createInstance()
     {
+        checkAfterDeploymentValidationFired("It's not allowed to call createInstance() before
AfterDeploymentValidation");
         return bm.createInstance();
     }
 



Mime
View raw message