You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (Jira)" <ji...@apache.org> on 2019/09/17 08:48:00 UTC

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

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