You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/28 20:56:00 UTC

[jira] [Updated] (STORM-3087) FluxBuilder.canInvokeWithArgs is too permissive when the method parameter type is a primitive

     [ https://issues.apache.org/jira/browse/STORM-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated STORM-3087:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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)