For the record, these tests do not work on Weld only by accident. Weld does not treat it as a deployment problem because it's not required by the spec. See also "3.15. Unproxyable bean types":
A bean type must be proxyable if an injection point resolves to a bean:
-
that requires a client proxy, or
-
that has an associated decorator, or
-
that has a bound interceptor.
And there's no injection point which resolves to the YoghurtConstructor.
|