Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15780

Ability to skip precalculated Jandex when searching for CDI beans

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Blocker
    • 26.0.0.Final
    • None
    • CDI / Weld
    • None

    Description

      Some jars supply pre-calculated Jandex indices. If Weld finds such an index file in the jar it uses that as the input for the scanning for CDI beans

      This is normally fine, but I just ran into a case with a Reactive Messaging upgrade when running in EE9 preview mode. The issue is that the supplied index contains javax. annotations to define the bean, while Weld in this mode looks for jakarta. annotations, which results in not beans being found.

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            kkhan1@redhat.com Kabir Khan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: