-
Bug
-
Resolution: Done
-
Major
-
5.1.2.Final, 6.0.0.Beta4
-
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