[cdi-dev] [JBoss JIRA] (CDI-149) AnnotationLiteral in the CDI API does not cache the hashCode
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Aug 21 09:24:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir resolved CDI-149.
---------------------------
Fix Version/s: 1.1.EDR2
Resolution: Done
I changed it to only cache when there are no methods
> AnnotationLiteral in the CDI API does not cache the hashCode
> ------------------------------------------------------------
>
> Key: CDI-149
> URL: https://issues.jboss.org/browse/CDI-149
> Project: CDI Specification Issues
> Issue Type: Bug
> Components: Javadoc and API
> Affects Versions: 1.0
> Reporter: Stuart Douglas
> Assignee: Marko Lukša
> Fix For: 1.1 (Proposed), 1.1.EDR2
>
>
> Instead it is calculated each time using reflection, which could result in performance problems if lots of annotation literals are in use
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list