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

Inconsistent synchronization in GenericObjectPool; constant fields should be final

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: