[cdi-dev] [JBoss JIRA] (CDI-685) Section 1.2 does not describe relationship to javax.annotations specification

Antoine Sabot-Durand (JIRA) issues at jboss.org
Fri Feb 17 02:56:00 EST 2017


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

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

Agree. For the record the 1st chapter of the spec is an introduction and not part of the spec as stated in [Doc Organisation section|http://docs.jboss.org/cdi/spec/2.0-PFD/cdi-spec.html#doc_organisation], so error in it is not a spec issue strictly speaking but OTH we are more free to change this introcution to make it clearer and easier to get.

> Section 1.2 does not describe relationship to javax.annotations specification
> -----------------------------------------------------------------------------
>
>                 Key: CDI-685
>                 URL: https://issues.jboss.org/browse/CDI-685
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Java EE integration, Java SE Integration
>    Affects Versions: 2.0 .Final
>            Reporter: Laird Nelson
>
> [Section 1.2|http://docs.jboss.org/cdi/spec/2.0-PFD/cdi-spec.html#_relationship_to_other_specifications] of the specification does not describe a relationship to the {{javax.annotation}} specification.  IMHO this is relevant because the usage of [{{@Priority}}|http://docs.oracle.com/javaee/7/api/javax/annotation/Priority.html] as an ordering mechanism for observer methods relies on its being applicable to method parameters, which in version 1.2 of the {{javax.annotation}} specification it is not.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the cdi-dev mailing list