[
https://issues.jboss.org/browse/CDI-234?page=com.atlassian.jira.plugin.sy...
]
Jozef Hartinger commented on CDI-234:
-------------------------------------
The sentence which says "transitively" talks about annotation members (that are
applied either directly or transitively) and which can be excluded from container's
consideration using @NonBinding. However, in the example above, it's a String member
(level) which should be excluded from container's consideration (as it is annotated
with @NonBinding) but it is not excluded.
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: 1.1.PFD
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/Annotat...) so i
don't think there is any technical issue to consider arrays as a field.
--
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