]
Antoine Sabot-Durand updated CDI-629:
-------------------------------------
Fix Version/s: 2.1 (Discussion)
(was: 2.0 (discussion))
Consider standardizing AnnotationInstaceProvider from DeltaSpike
----------------------------------------------------------------
Key: CDI-629
URL:
https://issues.jboss.org/browse/CDI-629
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Martin Kouba
Fix For: 2.1 (Discussion)
http://lists.jboss.org/pipermail/cdi-dev/2016-September/008829.html
Impl. notes:
* the type safety is not guaranteed in the current version of
{{AnnotationInstanceProvider}} (deltaspike)
* {{AnnotationInstanceProvider}} implements {{Serializable}} but a user is allowed to
provide a map instance which is not serializable or contains values which are not
serializable
* the provided map of values should be copied (it can be mutable)
* we should at least check the provided map of member values against the set of declared
methods