You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2018/06/03 07:34:00 UTC

[jira] [Resolved] (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 ]

Jungtaek Lim resolved STORM-3087.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.3

Thanks [~Srdo] I also merged this to 1.x-branch as well.

> 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, 1.2.3
>
>          Time Spent: 50m
>  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)