Sorry but I don't agree. Actually I think there is the requirement to test unproxyable bean types during runtime (if there are no injection points for given types) and that's why UnproxyableResolutionException exists.
The spec clearly only defines that the validation must happen during bootstrap - but no further behaviour at runtime is specified.
I believe this is not true. Why would UnproxyableResolutionException (as defined in 6.5.4. Contextual reference for a bean) exist then? We should open CDI spec clarification issue once there is a disagreement. |