[ https://issues.apache.org/jira/browse/STORM-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497986#comment-16497986 ]
Robert Joseph Evans commented on STORM-3087: -------------------------------------------- [~Srdo], I merged this into master, but I noticed that you have 1.2.1 listed as also being impacted. The change does not cherry-pick into 1.x cleanly so if you want it in 1.x please open a new pull request. If not feel free to resolve this JIRA. > FluxBuilder.canInvokeWithArgs is too permissive when the method parameter > type is a primitive > --------------------------------------------------------------------------------------------- > > Key: STORM-3087 > URL: https://issues.apache.org/jira/browse/STORM-3087 > Project: Apache Storm > Issue Type: Bug > Components: Flux > Affects Versions: 2.0.0, 1.2.1 > Reporter: Stig Rohde Døssing > Assignee: Stig Rohde Døssing > Priority: Major > Labels: pull-request-available > Fix For: 2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > One of the clauses in canInvokeWithArgs is too permissive. It returns true if > the declared method parameter type is a primitive, regardless of what the > type of the actual parameter value is. This causes Flux to attempt to invoke > the wrong methods in certain cases, which will trigger an > IllegalArgumentException. -- This message was sent by Atlassian JIRA (v7.6.3#76005)