Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.3
-
None
Description
WebBeansUtil#setInjectionTargetBeanEnableFlag calls hasInjectionTargetBeanAnnotatedWithAlternative which performs a very strict check (if the given class is annotated with @Alternative).
so it isn't possible to add or remove @Alternative via ProcessAnnotatedType during the bootstrapping process.