[cdi-dev] [JBoss JIRA] (CDI-629) Consider standardizing AnnotationInstaceProvider from DeltaSpike

Martin Kouba (JIRA) issues at jboss.org
Mon Sep 12 10:08:00 EDT 2016


Martin Kouba created CDI-629:
--------------------------------

             Summary: 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.0 (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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list