?? ---Original--- From: "Ted Yu (JIRA)"<j...@apache.org> Date: 2017/7/1 01:41:08 To: "dev"<dev@kylin.apache.org>; Subject: [jira] [Created] (KYLIN-2701) Unclosed PreparedStatement inQueryService#getPrepareOnlySqlResponse
Ted Yu created KYLIN-2701: ----------------------------- Summary: Unclosed PreparedStatement in QueryService#getPrepareOnlySqlResponse Key: KYLIN-2701 URL: https://issues.apache.org/jira/browse/KYLIN-2701 Project: Kylin Issue Type: Bug Reporter: Ted Yu Priority: Minor {code} try { conn.prepareStatement(correctedSql); throw new IllegalStateException("Should have thrown OnlyPrepareEarlyAbortException"); {code} The return value of prepareStatement() may leak if there is no exception from the call. -- This message was sent by Atlassian JIRA (v6.4.14#64029)