Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-137

Inconsistent synchronization in GenericObjectPool; constant fields should be final

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      _whenExhaustedAction is not always accessed using synchronization.

      The private static Latch class appears to be used across threads, but has no synchronization.

      The static class Config contains several fields which appear to be used as constants, however the fields are not final.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: