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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha3
    • 2.0.0.Alpha1
    • None
    • None

      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()

              rhn-engineering-jharting Jozef Hartinger
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: