Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-440

MethodUtils.CACHE_METHODS is not accessed in a thread-safe way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0
    • None
    • None

    Description

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

      Attachments

        1. BEANUTILS-440.patch
          1 kB
          samir kerroumi

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: