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

ProgrammaticallyAddedProcessBeanAttributesTest should only test built-in beans explicitly listed in the specification


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.4.Final, 2.1.0.Alpha1
    • 2.0.2.Final
    • None
    • None

      ProgrammaticallyAddedProcessBeanAttributesTest counts the number of ProcessBeanAttributes events and expects the count to be 0 in the end (That would suggest that no PBA was fired for built-in beans nor beans added via AfterBeanDiscovery.addBean()). However this is incorrect since an application server may bundle extensions that register (synthetic) annotated types. These are not built-in beans per definition and therefore they affect the counter in the test.

        1. IParametroWS.java
          0.8 kB
          Marcial AtiƩnzar Navarro

            marko.luksa@gmail.com Marko Luksa (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            0 Vote for this issue
            5 Start watching this issue