-
Bug
-
Resolution: Done
-
Major
-
7.0.0.Alpha1, 6.0.4.Final
-
None
-
None
WeldDefaultProxyServices attempts to reads any module we end up putting proxies into.
However, the opposite is required for Weld to work as well because those proxy classes reference Weld impl/api classes.
ATM Weld lacks module names but even if there were some, users are expected to declare their dependency on CDI modules, not the impl-specific ones like Weld.
We can workaround this by generating some bytecode into those packages and have it declare reads on Weld. It isn't the nicest thing to do, but it should do the trick.
Note: Integrators can and often should provide their own implementations of the ProxyServices. The default one there mainly for SE where no integrator is presumed and also as a template.