[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374193#comment-16374193
 ] 

ASF subversion and git services commented on DELTASPIKE-1317:
-------------------------------------------------------------

Commit b5f94113b15716e7fed81ea643f3948040079422 in deltaspike's branch 
refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=b5f9411 ]

DELTASPIKE-1317 workaround for getGenericParameter returning wrong amount of 
params

This happens in rare situations. Still not sure whether this is by spec,
whether it is a JVM bug or whether it is simply an undefined edge case.
We need to investigate further.
At least ne now don't blow up anymore


> AnnotatedCallableImpl blows up with ArrayOutofBounds when parsing enums
> -----------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1317
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1317
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.8.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 1.8.2
>
>
> It seems like constructor#getParameterTypes() and getGenericParameterTypes() 
> return a different number of parameters for enums.
>  
> There is already a rudimentary workaround in place, but that seems not to be 
> enough.
>  
> We need to dig deeper why this happens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to