]
Antoine Sabot-Durand updated CDI-528:
-------------------------------------
Fix Version/s: 2.0-EDR2
(was: 2.0 (discussion))
Minor inconsistency in Built-in qualifiers chapter
--------------------------------------------------
Key: CDI-528
URL:
https://issues.jboss.org/browse/CDI-528
Project: CDI Specification Issues
Issue Type: Clarification
Reporter: Tomas Remes
Assignee: Antoine Sabot-Durand
Priority: Minor
Fix For: 2.0-EDR2
2.3.1. Built-in qualifier types states:
{quote}
If a bean does not explicitly declare a qualifier other than @Named , the bean has
exactly one additional qualifier, of type @Default .
{quote}
This means that following bean has @Named, @Default, @Any qualifiers:
{code}
@Named
public class Dog {}
{code}
but this one is not required to have @Default qualifier:
{code}
@Named
@Any
public class Dog {}
{code}
It doesn't make much sense IMHO.