]
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: