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

Fix BM resolution process for BCE without bean archive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.3.Final, 6.0.0.Beta5
    • 5.1.2.Final, 6.0.0.Beta4
    • Extensions
    • None

      With https://github.com/wildfly/wildfly/pull/18078, WFLY can register a build compatible extension that will ultimately belong under LiteExtensionTranslator but will attempt to provide BM for synth bean creation based on BCE class.

      See this code.
      While it is mostly correct, in a scenario where the "physical" archive that BCE belongs to isn't a bean archive, it means a new adhoc bean archive gets created. And because it's after whole bootstrap, it won't gain access to any built-in beans and other parts. An improvement would be to attempt to use the class of the LiteExtensionTranslator instead - that one exists as a known archive from the get go.

      Related to WFLY-19573

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: