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

Enabling alternatives does not work if weld-se archive isolation is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.1.3.Final
    • Java SE Support
    • None

      If you unzip the attached project and run the tests, you see that the isolation true / alternative true test fails.

      If I enable the alternative bean, I'd expect it to get injected, even though it is injected into a different bean archive, without the need to disable the archive isolation just like with normal beans that are no alternatives.

      Please excuse me if I missed some point that explains this in the CDI spec, but I didn't find some related definitions.

            mkouba@redhat.com Martin Kouba
            Vampire0 Björn Kautler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: