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)

Reply via email to