You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2016/08/12 17:49:57 UTC
tomee git commit: test fix
Repository: tomee
Updated Branches:
refs/heads/master 3de570e43 -> c72fb7204
test fix
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/c72fb720
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/c72fb720
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/c72fb720
Branch: refs/heads/master
Commit: c72fb7204b79218e6e22cc1a6e7ce5733891a167
Parents: 3de570e
Author: Romain manni-Bucau <rm...@gmail.com>
Authored: Fri Aug 12 19:49:41 2016 +0200
Committer: Romain manni-Bucau <rm...@gmail.com>
Committed: Fri Aug 12 19:49:41 2016 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/openejb/cdi/CdiEjbBean.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/c72fb720/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java
index 0480090..9e5c809 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java
@@ -299,7 +299,7 @@ public class CdiEjbBean<T> extends BaseEjbBean<T> implements InterceptedMarker,
homeLocalBean = null;
home = null;
remote = null;
- } else if (beanContext.isLocalbean()) {
+ } else if (beanContext.isLocalbean() || (noLocalInterface && beanContext.getBusinessRemoteInterfaces().isEmpty() /*EJB2*/)) {
homeLocalBean = beanContext.getBusinessLocalBeanHome();
home = null;
remote = null;