Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5724

EncryptionKeyTest sometimes keeps reference to connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Test
    • None

    Description

      EncryptionKeyTest has this code to clean up the connection:

      if (con != null && !con.isClosed())

      { con.rollback(); con.close(); con = null; }

      If the connection is already closed, it won't null out the reference. It should set con to null unconditionally.

      Attachments

        1. d5724-1a.diff
          0.9 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: