Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2137

Ejb3Registry.hasContainer(Container) incorrectly returns false for registered containers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • depchain-1.0.0-alpha-2
    • EJB3_1 1.0.7, bom-eap5-0.1.2
    • core
    • None
    • jboss-ejb3-core:1.5.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.

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: