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 2015/05/27 08:17:33 UTC

tomee git commit: avoid circular exception cause of std ServiceId and potentially other common cases like Name

Repository: tomee
Updated Branches:
  refs/heads/master d16c3bed8 -> fbe6e6c6e


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/fbe6e6c6
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/fbe6e6c6
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/fbe6e6c6

Branch: refs/heads/master
Commit: fbe6e6c6e1d51d9c436f3789f508d3ac1e403d88
Parents: d16c3be
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Wed May 27 08:17:27 2015 +0200
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Wed May 27 08:17:27 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/tomee/blob/fbe6e6c6/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 65a80f9..f78f86a 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
@@ -1687,6 +1687,7 @@ public class ConfigurationFactory implements OpenEjbConfigurationFactory {
                         }
                     }
                 }
+                refs.remove(getName(resourceInfo)); // can happen with serviceId for instance, avoid cicular dep issue
                 return refs;
             }
         });