SpecializationTest wrongly assumes that ProcessBeanAttribute does not get called for specialized beans.
The spec says nothing about when the 'disabling' of specialized away beans is to be performed or how this is done. Thus it also doesn't define whether ProcessBeanAttributes gets called for those beans.
Pretty much the only thing the spec defines is that those beans shall not get found by BeanManager#getBeans().
|