[cdi-dev] [JBoss JIRA] (CDI-234) behavior of arrays without @Nonbinding
Antoine Sabot-Durand (JIRA)
issues at jboss.org
Mon Jan 5 12:13:30 EST 2015
[ https://issues.jboss.org/browse/CDI-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Sabot-Durand updated CDI-234:
-------------------------------------
Fix Version/s: 2.0 (discussion)
(was: TBD)
> behavior of arrays without @Nonbinding
> --------------------------------------
>
> Key: CDI-234
> URL: https://issues.jboss.org/browse/CDI-234
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Concepts
> Affects Versions: 1.0
> Reporter: Romain Manni-Bucau
> Assignee: Pete Muir
> Priority: Minor
> Fix For: 2.0 (discussion)
>
>
> The spec says:
> "Array-valued or annotation-valued members of a qualifier type should be annotated @Nonbinding in a portable application.
> If an array-valued or annotation-valued member of a qualifier type is not annotated @Nonbinding, non-portable behavior
> results."
> The case of arrays without this annotation should be managed to get a better portability. The equality of arrays is determined through "Arrays" helper (http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Annotation.html) so i don't think there is any technical issue to consider arrays as a field.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the cdi-dev
mailing list