Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19553

Weld exclude doesn't work for CDI 1.1+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Alpha2
    • 4.3.0.Alpha1
    • cdi
    • None
    • Hide

      1. Create CDI 1.1+ project, change discovery mode to all (or create all beans with scope)
      2. add Bean1, Bean2
      3. add @Inject Bean1 b into Bean2
      3. define weld:exclude on Bean1
      FAIL: there's not warning about no eligible bean for injection point

      Exclude from CDI1.1+ spec works
      CDI1.0 projects are ok.

      Show
      1. Create CDI 1.1+ project, change discovery mode to all (or create all beans with scope) 2. add Bean1, Bean2 3. add @Inject Bean1 b into Bean2 3. define weld:exclude on Bean1 FAIL: there's not warning about no eligible bean for injection point Exclude from CDI1.1+ spec works CDI1.0 projects are ok.

          scabanovich Viacheslav Kabanovich (Inactive)
          rawagner@redhat.com Rastislav Wagner
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: