Derby
  1. Derby
  2. DERBY-5709

ResultSetFromPreparedStatementTest keeps references to non-default connections

    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

      ResultSetFromPreparedStatementTest keeps references to non-default connections in the fields c2 and c3. c2 is closed and nulled out in tearDown(). c3 is only closed. It should be nulled out too in order to allow gc of resources after test completion.

      1. d5709-1a.diff
        1.0 kB
        Knut Anders Hatlen

        Activity

        Knut Anders Hatlen created issue -
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Knut Anders Hatlen added a comment -

        Attached patch nulls out c3 field in tearDown().

        Show
        Knut Anders Hatlen added a comment - Attached patch nulls out c3 field in tearDown().
        Knut Anders Hatlen made changes -
        Attachment d5709-1a.diff [ 12523964 ]
        Hide
        Kristian Waagan added a comment -

        +1

        Show
        Kristian Waagan added a comment - +1
        Hide
        Knut Anders Hatlen added a comment -

        Thanks, Kristian.
        Committed revision 1330127.

        Show
        Knut Anders Hatlen added a comment - Thanks, Kristian. Committed revision 1330127.
        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 [ 12663810 ] Default workflow, editable Closed status [ 12796838 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        10s 1 Knut Anders Hatlen 24/Apr/12 13:31
        In Progress In Progress Closed Closed
        17h 44m 1 Knut Anders Hatlen 25/Apr/12 07:15

          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