[weld-issues] [JBoss JIRA] Closed: (WELD-530) NPE possible in AnnotationLiteral hashCode()

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed May 26 17:08:54 EDT 2010


     [ https://jira.jboss.org/browse/WELD-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-530.
--------------------------

      Assignee: Pete Muir
    Resolution: Done


> NPE possible in AnnotationLiteral hashCode()
> --------------------------------------------
>
>                 Key: WELD-530
>                 URL: https://jira.jboss.org/browse/WELD-530
>             Project: Weld
>          Issue Type: Bug
>          Components: CDI API
>    Affects Versions: 1.0.1.Final
>            Reporter: Nicklas Karlsson
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.0.2.CR1
>
>
> the implementation of hashCode() doesn't take into account the possibility of 
> Object value = invoke(member, this);
> returning null, causing failure in
> else 
> {
>   memberValueHashCode = value.hashCode();
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list