[cdi-dev] [JBoss JIRA] (CDI-318) @WithAnnotations types can appear on any supertype

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Feb 3 09:12:28 EST 2014


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

Antoine Sabot-Durand commented on CDI-318:
------------------------------------------

[~mkouba] yes section "11.5.6" seems good. And don't forget the main convention : Java Standard Rules. I think we should take that as a rule of thumb : when we're not following JSL and that we do not explicit write it, we're (probably) wrong. That works here ;)
                
> @WithAnnotations types can appear on any supertype
> --------------------------------------------------
>
>                 Key: CDI-318
>                 URL: https://issues.jboss.org/browse/CDI-318
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Martin Kouba
>            Assignee: Martin Kouba
>            Priority: Minor
>              Labels: CDI_api_chge, Ready_to_fix
>             Fix For: 1.2 Proposed
>
>
> Is this intentional? Supertypes also include interfaces which are not very useful here as beans may inherit type-level metadata and members from superclasses only.
> Is there any special use-case for this?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list