You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/01/15 22:55:35 UTC
[jira] [Created] (DRILL-2017) Many uses of Closeable should be
AutoCloseable
Chris Westin created DRILL-2017:
-----------------------------------
Summary: Many uses of Closeable should be AutoCloseable
Key: DRILL-2017
URL: https://issues.apache.org/jira/browse/DRILL-2017
Project: Apache Drill
Issue Type: Bug
Reporter: Chris Westin
The difference is subtle. Closeable is designed for I/O, and it's version of close() throws IOException. AutoCloseable is more general, and can be used for things like transactions, or memory management. It's version of close() throws Exception.
This occurs throughout the code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)