You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2015/05/27 15:48:51 UTC

[3/5] tomee git commit: avoid circular exception cause of std ServiceId and potentially other common cases like Name

avoid circular exception cause of std ServiceId and potentially other common cases like Name


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/507e56e3
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/507e56e3
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/507e56e3

Branch: refs/heads/tomee-1.7.x
Commit: 507e56e3dff14b30de5c29a58e7e89ffb7024a03
Parents: 2da3139
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Wed May 27 08:17:27 2015 +0200
Committer: Jonathan Gallimore <jo...@jrg.me.uk>
Committed: Wed May 27 14:02:36 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/config/ConfigurationFactory.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/507e56e3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java b/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
index 96b5cf0..5282276 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
@@ -1638,6 +1638,7 @@ public class ConfigurationFactory implements OpenEjbConfigurationFactory {
                         }
                     }
                 }
+                refs.remove(getName(resourceInfo)); // can happen with serviceId for instance, avoid cicular dep issue
                 return refs;
             }
         });