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

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Mon May 24 07:04:55 EDT 2010

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

the implementation of hashCode() doesn't take into account the possibility of 

Object value = invoke(member, this);

returning null, causing failure in

  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