commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johno Crawford (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OGNL-226) Race condition with OgnlRuntime.getMethod
Date Wed, 24 Oct 2012 12:14:12 GMT

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

Johno Crawford commented on OGNL-226:
-------------------------------------

Nope, bug does not exist in Apache OGNL. Also ignore my statement about ConcurrentHashMap,
looks like it is used inside a wrapper (falls back to normal HashMap + sync if below JDK 1.5).
                
> Race condition with OgnlRuntime.getMethod
> -----------------------------------------
>
>                 Key: OGNL-226
>                 URL: https://issues.apache.org/jira/browse/OGNL-226
>             Project: Commons OGNL
>          Issue Type: Bug
>          Components: Core Runtime
>    Affects Versions: 3.0
>            Reporter: Johno Crawford
>            Priority: Minor
>         Attachments: OgnlRuntimeTest.java
>
>
> If there are two consecutive calls to OgnlRuntime.getMethod before the result is cached
it may erroneously return null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message