[JBoss JIRA] (CDI-703) Carify indirect specialization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[JBoss JIRA] (CDI-703) Carify indirect specialization

JIRA issues@jboss.org

    [ https://issues.jboss.org/browse/CDI-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414760#comment-13414760 ]

Matej Novotny commented on CDI-703:

It's not my assumption, that's how transitive relation works by definition.
As for {{@Named}} this is clear too, just look few lines below that, where the spec says:
bq. If Y has a bean name and X declares a bean name explicitly the container automatically detects the problem and treats it as a definition error.

Again, apply transitive relation rules and you have a result -> definition error if both have {{@Named}}.

> Carify indirect specialization
> ------------------------------
>                 Key: CDI-703
>                 URL: https://issues.jboss.org/browse/CDI-703
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Inheritance and Specialization
>    Affects Versions: 2.0 .Final
>            Reporter: Antoine Sabot-Durand
> Indirect specialization in chapter 4.3.1 lacks clarification regarding intermediate beans attributes (qualifier and name) on specializing bean bean.
> Discussion in CDITCK-580 illustrates this concern.

This message was sent by Atlassian JIRA
cdi-dev mailing list
[hidden email]

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.