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

          Knut Anders Hatlen created issue -
          Knut Anders Hatlen made changes -
          Field Original Value New Value
          Affects Version/s 10.9.0.0 [ 12316344 ]
          Component/s Test [ 11413 ]
          Knut Anders Hatlen made changes -
          Link This issue blocks DERBY-5726 [ DERBY-5726 ]
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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
          Knut Anders Hatlen made changes -
          Attachment d5722-1a.diff [ 12524269 ]
          Knut Anders Hatlen made changes -
          Issue & fix info Patch Available [ 10102 ]
          Hide
          Knut Anders Hatlen added a comment -

          Committed revision 1331262.

          Show
          Knut Anders Hatlen added a comment - Committed revision 1331262.
          Knut Anders Hatlen made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Issue & fix info Patch Available [ 10102 ]
          Fix Version/s 10.9.0.0 [ 12316344 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow jira [ 12664065 ] Default workflow, editable Closed status [ 12796712 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          1h 8m 1 Knut Anders Hatlen 25/Apr/12 14:00
          In Progress In Progress Closed Closed
          1d 18h 19m 1 Knut Anders Hatlen 27/Apr/12 08:20

            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