You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/23 20:36:16 UTC
[jira] [Commented] (AMQ-6337) DefaultAuthorizationMap could invoke
a method with the wrong arguments
[ https://issues.apache.org/jira/browse/AMQ-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347130#comment-15347130 ]
ASF subversion and git services commented on AMQ-6337:
------------------------------------------------------
Commit 6be36305f6669ded47bcd33016583a86bdda04dd in activemq's branch refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=6be3630 ]
https://issues.apache.org/jira/browse/AMQ-6337
Checking for the correct number of arguments before reflectively
invoking a method in DefaultAuthorizationMap
> DefaultAuthorizationMap could invoke a method with the wrong arguments
> ----------------------------------------------------------------------
>
> Key: AMQ-6337
> URL: https://issues.apache.org/jira/browse/AMQ-6337
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.13.3
> Reporter: Christopher L. Shannon
> Assignee: Christopher L. Shannon
>
> As pointed out here:
> http://activemq.2283324.n4.nabble.com/java-lang-IllegalArgumentException-wrong-number-of-arguments-td4713290.html
> Some of the logic used for reflection could lead to an IllegalArgumentException if the groupClass is set to a different object because we do not properly check the that the number of method arguments is correct before invoking the method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)