[
https://jira.jboss.org/browse/EJBTHREE-2137?page=com.atlassian.jira.plugi...
]
jaikiran pai resolved EJBTHREE-2137.
------------------------------------
Component Fix Version(s): jboss-ejb3-core:1.5.0
Fix Version/s: bom-as6-0.2.0
Resolution: Done
Fixed in r107250.
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
Fix For: bom-as6-0.2.0
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