|
This is a spec requirement (purely a technical requirement implied by how Java allocates class instances). See also the spec, section 8.3. Decorator resolution:
If a decorator matches a managed bean, the managed bean class must be a proxyable bean type, as defined in Unproxyable bean types.
However, Weld provides a non-portable workaround - Relaxed construction.
|