[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-2137) Ejb3Registry.hasContainer(Container) incorrectly returns false for registered containers
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Sun Aug 1 09:01:49 EDT 2010
[ https://jira.jboss.org/browse/EJBTHREE-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai updated EJBTHREE-2137:
-----------------------------------
Affects Version/s: EJB3_1 1.0.7
(was: bom-as6-0.2.0)
> Ejb3Registry.hasContainer(Container) incorrectly returns false for registered containers
> ----------------------------------------------------------------------------------------
>
> Key: EJBTHREE-2137
> URL: https://jira.jboss.org/browse/EJBTHREE-2137
> Project: EJB 3.0
> Issue Type: Bug
> Components: core
> Affects Versions: EJB3_1 1.0.7, bom-eap5-0.1.2
> Reporter: jaikiran pai
> Assignee: jaikiran pai
>
> Consider this:
> Container container = new StatelessContainer(...);
> Ejb3Registy.register(container);
> boolean contains = Ejb3Registry.hasContainer(container);
> The Ejb3Registry.hasContainer(...) is expected to return true, above. But it returns false.
> Ejb3Registry.hasContainer() implementation tries to look into the containers map using a different key compared to what is being used to register the container in the Ejb3Registry.register implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list