You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/05/06 15:12:16 UTC

[jira] [Created] (BEANUTILS-440) MethodUtils.CACHE_METHODS is not accessed in a thread-safe way

Sebb created BEANUTILS-440:
------------------------------

             Summary: MethodUtils.CACHE_METHODS is not accessed in a thread-safe way
                 Key: BEANUTILS-440
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-440
             Project: Commons BeanUtils
          Issue Type: Bug
            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