You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2020/01/24 19:12:00 UTC
[jira] [Created] (PHOENIX-5697) Avoid resource leakage with
try-with-resources
Viraj Jasani created PHOENIX-5697:
-------------------------------------
Summary: Avoid resource leakage with try-with-resources
Key: PHOENIX-5697
URL: https://issues.apache.org/jira/browse/PHOENIX-5697
Project: Phoenix
Issue Type: Improvement
Affects Versions: 5.1.0, 4.15.1
Reporter: Viraj Jasani
Assignee: Viraj Jasani
There are places where we catch IOException in finally block while closing a closable resource. If we could use try-with-resources to deal with closure of resources, that would not let us worry about catching IOException while closing the resources and would be a better replacement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)