Derby
  1. Derby
  2. DERBY-5722

InternationalConnectTest forgets to call super.tearDown()

    Details

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

      Description

      Its tearDown() method should call super.tearDown() to free resources.

      1. d5722-1a.diff
        3 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          Hide
          Knut Anders Hatlen added a comment -

          The attached patch makes the following changes to InternationalConnectTest to make it free resources on completion:

          • Call super.tearDown() from tearDown()
          • Close XAConnections and PooledConnections
          • Clear reference to ArrayList in tearDown() to allow it to be gc'ed
          Show
          Knut Anders Hatlen added a comment - The attached patch makes the following changes to InternationalConnectTest to make it free resources on completion: Call super.tearDown() from tearDown() Close XAConnections and PooledConnections Clear reference to ArrayList in tearDown() to allow it to be gc'ed
          Hide
          Knut Anders Hatlen added a comment -

          Committed revision 1331262.

          Show
          Knut Anders Hatlen added a comment - Committed revision 1331262.

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development