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

Martin Kouba (JIRA) issues at jboss.org
Fri Feb 17 02:34:00 EST 2017


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

Martin Kouba commented on CDI-685:
----------------------------------

In fact, the spec does not even mention the fully qualified name of the priority annotation - {{javax.annotation.Priority}}!

+1 for clarification

> 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: Bug
>          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