[jira] [Commented] (JEXL-312) @NoJexl fails to disallow method call

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (JEXL-312) @NoJexl fails to disallow method call

ASF GitHub Bot (Jira)

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

Dmitri Blinov commented on JEXL-312:
------------------------------------

The commit leads to false messages in log file:

{{Method public static java.lang.reflect.Method org.apache.commons.jexl3.internal.introspection.ClassMap.cacheMiss() is already registered, key: isNumberable(java.lang.Object)
 }}

The suggestion is we should not compare the already registered method to CACHE_MISS

> @NoJexl fails to disallow method call
> -------------------------------------
>
>                 Key: JEXL-312
>                 URL: https://issues.apache.org/jira/browse/JEXL-312
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Critical
>             Fix For: 3.2
>
>
> When a method is overriden through a class hierarchy, the @NoJexl annotation fails and lets a user call a method that should not be permitted.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)