Commons Pool
  1. Commons Pool
  2. POOL-137

Inconsistent synchronization in GenericObjectPool; constant fields should be final

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Sebb created issue -
        Mark Thomas made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5 [ 12312915 ]
        Resolution Fixed [ 1 ]
        Phil Steitz made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development