Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1094

BeanManager#createInjectionTarget - IllegalArgumentException not thrown if there is a definition error associated with any injection point

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.Alpha1
    • Fix Version/s: 2.0.0.Alpha3
    • Component/s: None
    • Labels:
      None

      Description

      11.3.19. Obtaining an InjectionTarget for a class:
      "The method BeanManager.createInjectionTarget() returns a container provided implementation of InjectionTarget for a given AnnotatedType or throws an IllegalArgumentException if there is a definition error associated with any injection point of the type."

      See TCK 1.1 test:
      org.jboss.cdi.tck.tests.extensions.beanManager.BeanManagerTest.testObtainingInjectionTargetWithDefinitionError()

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jharting Jozef Hartinger
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: