openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1617143 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Sun, 10 Aug 2014 19:06:05 GMT
Author: rmannibucau
Date: Sun Aug 10 19:06:04 2014
New Revision: 1617143

URL: http://svn.apache.org/r1617143
Log:
default package is null so avoid NPE

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=1617143&r1=1617142&r2=1617143&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
Sun Aug 10 19:06:04 2014
@@ -765,6 +765,9 @@ public class BeansDeployer
         }
 
         Package pckge = implClass.getPackage();
+        if (pckge == null) {
+            return false;
+        }
         do
         {
             // yes we cache result with potentially different classloader but this is not
portable by spec



Mime
View raw message