db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5724) EncryptionKeyTest sometimes keep reference to connection
Date Wed, 25 Apr 2012 11:58:03 GMT
Knut Anders Hatlen created DERBY-5724:

             Summary: EncryptionKeyTest sometimes keep reference to connection
                 Key: DERBY-5724
                 URL: https://issues.apache.org/jira/browse/DERBY-5724
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions:
            Reporter: Knut Anders Hatlen

EncryptionKeyTest has this code to clean up the connection:

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

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message