Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5545

CompositeIndexProcessor does not make Jandex indices built via static module class scanning available to WarAnnotationDeploymentProcessor

    XMLWordPrintable

Details

    Description

      If a deployment has a dependency on a static module and is configured to want annotation data from that module, some consumers of Jandex indices created from the module are not getting all possible indices. Specifically, WarAnnotationDeploymentProcessor is using a deployment unit attachment to obtain indices, but that attachment only contains indices for modules that have at least one META-INF/jandex.idx file in a resource. Indices created from modules without that (via class scanning) are not added to the attachment.

      See discussion at https://github.com/wildfly/wildfly-core/pull/4708/files#r689778092

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: