|
||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||
_______________________________________________ weld-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/weld-issues

This AIOOBE happens because AnnotatedCallableComparator only checks argX.getParameters() and doesn't check argX.getJavaMember().getParameterTypes().
Since the two don't always contain the same number of elements (at least in case of Enums - see BackedAnnotatedConstructor:78), the comparator should check the length of the array returned by getParameterTypes() before iterating over them.