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

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 2.0.0.Alpha1
    • 2.0.0.Alpha3
    • None
    • 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()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: