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

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

XMLWordPrintable

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

      11.3.21. Obtaining an InjectionPoint:
      "The method BeanManager.createInjectionPoint() returns a container provided implementation of InjectionPoint for a given AnnotatedField or AnnotatedParameter or throws an IllegalArgumentException if there is a definition error associated with the injection point."

      See TCK 1.1 tests:
      org.jboss.cdi.tck.tests.extensions.beanManager.injectionPoint.CreateInjectionPointTest.testInvalidParameter()
      org.jboss.cdi.tck.tests.extensions.beanManager.injectionPoint.CreateInjectionPointTest.testInvalidField()

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

              Created:
              Updated:
              Resolved: