www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "#asfinfra IRC Bot (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (INFRA-6230) MethodUtils.CACHE_METHODS is not thread-safe
Date Mon, 06 May 2013 13:06:16 GMT

     [ https://issues.apache.org/jira/browse/INFRA-6230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

#asfinfra IRC Bot closed INFRA-6230.
------------------------------------

    Resolution: Invalid
    
> MethodUtils.CACHE_METHODS is not thread-safe
> --------------------------------------------
>
>                 Key: INFRA-6230
>                 URL: https://issues.apache.org/jira/browse/INFRA-6230
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Sebb
>
> MethodUtils.CACHE_METHODS is not accessed in a thread-safe way.
> The field is a mutable static field, but is not volatile (nor Atomic) and only write
accesses are synchronised.
> If one thread writes the field, other reader threads may not see the updates immediately
(or ever).

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