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

ObjectPool classes can ignore Throwable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
    • Fix Version/s: 1.5.5
    • Labels:
      None

      Description

      The ObjectPool classes catch and ignore Throwable in several places.

      Catching Throwable should be done rarely, if ever, and should never ignore ThreadDeath.
      Indeed, ignoring Error is not normally advisable.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: